
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <link rel="canonical" href="https://blog.csdn.net/qq_39521554/article/details/80855086"/>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <meta name="renderer" content="webkit"/>
    <meta name="force-rendering" content="webkit"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta name="report" content='{"pid": "blog", "spm":"1001.2101"}'>
    <meta name="referrer" content="always">
    <meta http-equiv="Cache-Control" content="no-siteapp" /><link rel="alternate" media="handheld" href="#" />
    <meta name="shenma-site-verification" content="5a59773ab8077d4a62bf469ab966a63b_1497598848">
    <meta name="applicable-device" content="pc">
    <link  href="https://g.csdnimg.cn/static/logo/favicon32.ico"  rel="shortcut icon" type="image/x-icon" />
    <title>Python2和Python3的区别，以及为什么选Python3的原因_Machine Learning with Turing's Cat-CSDN博客_python2和python3的区别</title>
    <script>
      (function(){ 
        var el = document.createElement("script"); 
        el.src = "https://s3a.pstatp.com/toutiao/push.js?1abfa13dfe74d72d41d83c86d240de427e7cac50c51ead53b2e79d40c7952a23ed7716d05b4a0f683a653eab3e214672511de2457e74e99286eb2c33f4428830"; 
        el.id = "ttzz"; 
        var s = document.getElementsByTagName("script")[0]; 
        s.parentNode.insertBefore(el, s);
      })(window)
    </script>
        <meta name="keywords" content="python2和python3的区别">
        <meta name="csdn-baidu-search"  content='{"autorun":true,"install":true,"keyword":"python2和python3的区别"}'>
    <meta name="description" content="我的机器学习教程「美团」算法工程师带你入门机器学习 已经开始更新了，欢迎大家订阅~任何关于算法、编程、AI行业知识或博客内容的问题，可以随时扫码关注公众号「图灵的猫」，加入”学习小组“，沙雕博主在线答疑~此外，公众号内还有更多AI、算法、编程和大数据知识分享，以及免费的SSR节点和学习资料。其他平台（知乎/B站）也是同名「图灵的猫」，不要迷路哦~学...">
    <script src='//g.csdnimg.cn/tingyun/1.8.3/blog.js' type='text/javascript'></script>
        <link rel="stylesheet" type="text/css" href="https://csdnimg.cn/release/blogv2/dist/pc/css/detail_enter-abc53f1aad.min.css">
    <script type="application/ld+json">{"@context":"https://ziyuan.baidu.com/contexts/cambrian.jsonld","@id":"https://blog.csdn.net/qq_39521554/article/details/80855086","appid":"1638831770136827","pubDate":"2018-06-29T12:28:13","title":"Python2和Python3的区别，以及为什么选Python3的原因_Machine Learning with Turing&#39;s Cat-CSDN博客_python2和python3的区别","upDate":"2018-06-29T12:28:13"}</script>
        <link rel="stylesheet" type="text/css" href="https://csdnimg.cn/release/blogv2/dist/pc/themesSkin/skin-ai/skin-ai-3ade011873.min.css">
    <script src="https://csdnimg.cn/public/common/libs/jquery/jquery-1.9.1.min.js" type="text/javascript"></script>
    <script type="text/javascript">
        var isCorporate = false;//注释删除enterprise
        var username =  "qq_39521554";
        var skinImg = "white";
        var blog_address = "https://y1ran.blog.csdn.net";
        var currentUserName = "";
        var isOwner = false;
        var loginUrl = "http://passport.csdn.net/account/login?from=https://blog.csdn.net/qq_39521554/article/details/80855086";
        var blogUrl = "https://blog.csdn.net/";
        var avatar = "https://profile.csdnimg.cn/C/8/1/3_qq_39521554";
        var articleTitle = "Python2和Python3的区别，以及为什么选Python3的原因";
        var articleDesc = "我的机器学习教程「美团」算法工程师带你入门机器学习 已经开始更新了，欢迎大家订阅~任何关于算法、编程、AI行业知识或博客内容的问题，可以随时扫码关注公众号「图灵的猫」，加入”学习小组“，沙雕博主在线答疑~此外，公众号内还有更多AI、算法、编程和大数据知识分享，以及免费的SSR节点和学习资料。其他平台（知乎/B站）也是同名「图灵的猫」，不要迷路哦~学...";
        var articleTitles = "Python2和Python3的区别，以及为什么选Python3的原因_Machine Learning with Turing\'s Cat-CSDN博客_python2和python3的区别";
        var nickName = "闻人翎悬";
        var articleDetailUrl = "https://y1ran.blog.csdn.net/article/details/80855086";
        if(window.location.host.split('.').length == 3) {
            blog_address = blogUrl + username;
        }
        var skinStatus = "White";
        var blogStaticHost = "https://csdnimg.cn/release/blogv2/"
    </script>
    <script src="https://g.csdnimg.cn/??fixed-sidebar/1.1.6/fixed-sidebar.js" type="text/javascript"></script>
    <script src='//g.csdnimg.cn/common/csdn-report/report.js' type='text/javascript'></script>
    <link rel="stylesheet" type="text/css" href="https://csdnimg.cn/public/sandalstrap/1.4/css/sandalstrap.min.css">
    <style>
        .MathJax, .MathJax_Message, .MathJax_Preview{
            display: none
        }
    </style>
    <script src="https://dup.baidustatic.com/js/ds.js"></script>
</head>
<body class="nodata " style="">
        <script>
            var toolbarSearchExt = {"landingWord":["python2和python3的区别"],"queryWord":"python","tag":["Python","编程"],"title":"Python2和Python3的区别，以及为什么选Python3的原因"};
        </script>
    <script src="https://g.csdnimg.cn/common/csdn-toolbar/csdn-toolbar.js" type="text/javascript"></script>
    <script>
    (function(){
        var bp = document.createElement('script');
        var curProtocol = window.location.protocol.split(':')[0];
        if (curProtocol === 'https') {
            bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
        }
        else {
            bp.src = 'http://push.zhanzhang.baidu.com/push.js';
        }
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(bp, s);
    })();
    </script>
<link rel="stylesheet" href="https://csdnimg.cn/release/blogv2/dist/pc/css/blog_code-01256533b5.min.css">
<link rel="stylesheet" href="https://csdnimg.cn/release/blogv2/dist/mdeditor/css/editerView/chart-3456820cac.css" />
<div class="main_father clearfix d-flex justify-content-center" style="height:100%;"> 
    <div class="container clearfix" id="mainBox">
        <main>
<script type="text/javascript">
    var blogSensitiveWords = "";
    function getQueryString(name) {   
      var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); //构造一个含有目标参数的正则表达式对象  
      var r = window.location.search.substr(1).match(reg);  //匹配目标参数
      if( r != null ) return decodeURIComponent( r[2] ); return '';   
    }
    function stripscript(s){ 
      var pattern = new RegExp("[`~!@#$^&*()=|{}':;',\\[\\].<>/?~！@#￥……&*（）——|{}【】‘；：”“'。，、？%]") 
      var rs = ""; 
      for (var i = 0; i < s.length; i++) { 
        rs = rs+s.substr(i, 1).replace(pattern, ''); 
      } 
      return rs; 
    }
    var blogHotWords = stripscript(getQueryString('utm_term')).length > 1 ? stripscript(getQueryString('utm_term')) : ''
</script>
<div class="blog-content-box">
    <div class="article-header-box">
        <div class="article-header">
            <div class="article-title-box">
                <h1 class="title-article" id="articleContentId">Python2和Python3的区别，以及为什么选Python3的原因</h1>
            </div>
            <div class="article-info-box">
                <div class="article-bar-top">
                    <img class="article-type-img" src="https://csdnimg.cn/release/blogv2/dist/pc/img/original.png" alt="">
                    <div class="bar-content">
                    <a class="follow-nickName " href="https://y1ran.blog.csdn.net" target="_blank" rel="noopener">闻人翎悬</a>
                    <span class="time">2018-06-29 12:28:13</span>
                    <img class="article-read-img article-heard-img" src="https://csdnimg.cn/release/blogv2/dist/pc/img/articleReadEyes.png" alt="">
                    <span class="read-count">140667</span>
                    <a id="blog_detail_zk_collection" class="un-collection" data-report-click='{"mod":"popu_823","spm":"1001.2101.3001.4232","ab":"new"}'>
                        <img class="article-collect-img article-heard-img un-collect-status isdefault" style="display:inline-block" src="https://csdnimg.cn/release/blogv2/dist/pc/img/tobarCollect.png" alt="">
                        <img class="article-collect-img article-heard-img collect-status isactive" style="display:none" src="https://csdnimg.cn/release/blogv2/dist/pc/img/tobarCollectionActive.png" alt="">
                        <span class="name">收藏</span>
                        <span class="get-collection">
                            211
                        </span>
                    </a>
                    </div>
                </div>
                <div class="blog-tags-box">
                    <div class="tags-box artic-tag-box">
                            <span class="label">分类专栏：</span>
                                <a class="tag-link" href="https://blog.csdn.net/qq_39521554/category_7392111.html" target="_blank" rel="noopener">编程之美：Python</a>
                            <span class="label">文章标签：</span>
                                <a data-report-click='{"mod":"popu_626","spm":"1001.2101.3001.4223","strategy":"Python","ab":"new"}' class="tag-link" href="https://www.csdn.net/tags/MtjaQg4sNDk0LWJsb2cO0O0O.html" target="_blank" rel="noopener">Python</a>
                                <a data-report-click='{"mod":"popu_626","spm":"1001.2101.3001.4223","strategy":"编程","ab":"new"}' class="tag-link" href="https://so.csdn.net/so/search/s.do?q=编程&amp;t=blog&amp;o=vip&amp;s=&amp;l=&amp;f=&amp;viparticle=" target="_blank" rel="noopener">编程</a>
                    </div>
                </div>
                <div class="slide-content-box">
                    <div class="article-copyright">
                        <div class="creativecommons">
                            版权声明：本文为博主原创文章，遵循<a href="http://creativecommons.org/licenses/by-sa/4.0/" target="_blank" rel="noopener"> CC 4.0 BY-SA </a>版权协议，转载请附上原文出处链接和本声明。
                        </div>
                        <div class="article-source-link">
                            本文链接：<a href="https://blog.csdn.net/qq_39521554/article/details/80855086" target="_blank">https://blog.csdn.net/qq_39521554/article/details/80855086</a>
                        </div>
                    </div>
                </div>
                <div class="operating">
                    <a class="href-article-edit slide-toggle">版权</a>
                </div>
            </div>
        </div>
    </div>
        <div id="blogColumnPayAdvert">
            <div class="column-advert-box">
                <a style="display:contents;" href="https://blog.csdn.net/qq_39521554/category_9605683.html" target="_blank" data-report-view='{"mod":"popu_849","spm":"1001.2101.3001.4235","dest":"","strategy":"","extend1":"{\"user_type\":\"\"}"}' data-report-click='{"mod":"popu_849","spm":"1001.2101.3001.4235","dest":"","strategy":"","extend1":"{\"user_type\":\"\"}"}' data-report-query="utm_source=&spm=1001.2101.3001.4235">
                <div class="left-advert-box"><img src="https://img-blog.csdnimg.cn/20200531171129637.PNG?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'"></div>
                <div class="middle-advert-box">
                    <div class="title">「美团」算法工程师带你入门机器学习</div>
                    <div class="introduce" title="相比于西瓜书、花书的理论视角，这篇专栏基于实用性和工程性的角度，同时侧重基础，给初学者和入门者提供通俗易懂，简单直白的机器学习算法教程~">相比于西瓜书、花书的理论视角，这篇专栏基于实用性和工程性的角度，同时侧重基础，给初学者和入门者提供通俗易懂，简单直白的机器学习算法教程~</div>
                        <div class="information"><img src="https://profile.csdnimg.cn/C/8/1/3_qq_39521554" alt=""><span>闻人翎悬</span></div>    
                </div>
                </a>
                <div class="right-advert-box">
                    <div class="count-advert-box"><span class="advert-money">¥19.90</span><span class="advert-count-people"></span></div>
                    <div class="bt-advert-box">
                            <button class="bt-click" id="bt-click" data-id="9605683" data-report-view='{"spm":"3001.4402"}' data-report-click='{"spm":"3001.4402"}'>订阅博主</button>
                    </div>
                </div>
            </div>
        </div>
    <article class="baidu_pl">
        <div id="article_content" class="article_content clearfix">
        <link rel="stylesheet" href="https://csdnimg.cn/release/blogv2/dist/mdeditor/css/editerView/ck_htmledit_views-b5506197d8.css">
                <div id="content_views" class="htmledit_views">
                    <p>我的机器学习教程<a href="https://blog.csdn.net/qq_39521554/category_9605683.html">「美团」算法工程师带你入门机器学习</a>   已经开始更新了&#xff0c;欢迎大家订阅~</p> 
<p>任何关于算法、编程、AI行业知识或博客内容的问题&#xff0c;可以随时扫码关注公众号「图灵的猫」&#xff0c;加入”学习小组“&#xff0c;沙雕博主在线答疑~此外&#xff0c;公众号内还有更多AI、算法、编程和大数据知识分享&#xff0c;以及免费的SSR节点和学习资料。其他平台&#xff08;知乎/B站&#xff09;也是同名「图灵的猫」&#xff0c;不要迷路哦~</p> 
<figure class="image">
 <img alt="" height="156" src="https://imgconvert.csdnimg.cn/aHR0cHM6Ly9tbWJpei5xcGljLmNuL21tYml6X2dpZi9vR281RTNvSjB2ZTMyRnlhWDJkTXNDVFlseXprREJUVk1FWFlqSEtRelRIZ1p3VzU2TTVyMjRqajhDZ0hRcWljU0g2NXNrYTgwVmliT0RuaWN5Q2huRDZWdy82NDA?x-oss-process&#61;image/format,png" width="441" />
 <figcaption></figcaption>
</figure>
<figure class="image">
 <img alt="" height="186" src="https://img-blog.csdnimg.cn/201912271617068.png?x-oss-process&#61;image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly95MXJhbi5ibG9nLmNzZG4ubmV0,size_16,color_FFFFFF,t_70" width="356" />
 <figcaption></figcaption>
</figure>
<h1> </h1> 
<h1> </h1> 
<h1> </h1> 
<h1> </h1> 
<h1> </h1> 
<h1><img alt="" class="has" height="60" src="https://img-blog.csdnimg.cn/2019122417141960.PNG" width="999" /></h1> 
<div> 
 <div> 
  <h2>学习Python 2还是Python 3&#xff1f;</h2> 
  <p>罗振宇在今年的跨年演讲&#xff0c;《时间的朋友》中有个观点&#xff0c;大意是说&#xff0c;人们都有一种受虐情节&#xff0c;有时候希望别人对他粗暴一点。为此&#xff0c;他还举了两个例子&#xff0c;分别是“乔布斯对待消费者的态度”和“和菜头不尊重他的饮食需求”&#xff0c;末了还很享受的来一句&#xff1a;我爱死他了&#xff0c;对我再粗暴一点好不好&#xff01;</p> 
  <p>看到很多新同学在学习Python的过程中&#xff0c;犹豫学习Python 2还是学习Python 3而迟迟不行动&#xff0c;白白地浪费了大把时间&#xff0c;错过了升职加薪的机会&#xff0c;我真心觉得非常遗憾。所以&#xff0c;我忍不住想对大家粗暴一次&#xff0c;给大家一个粗暴而又正确的答案&#xff1a;</p> 
  <blockquote> 
   <p>应该学习Python 2还是Python 3&#xff1f;</p> 
   <p>都要学&#xff01;</p> 
  </blockquote> 
  <p>这个答案可能很出乎意料&#xff0c;也很容易反驳&#xff0c;例如&#xff1a;</p> 
  <ul><li>Python 3 才是Python的未来</li><li>Python 官方都建议指直接学习Python 3</li><li>Python 2 只维护到2020年</li></ul>
  <p>真的是这样吗&#xff1f;作为一个在一线互联网公司奋斗的工程师&#xff0c;也是一个多年的Python老手&#xff0c;大家不妨来看看我这么说的理由。</p> 
  <h2>为什么还要学习Python 2</h2> 
  <p><em>Python 2只维护到2020年不应该成为你拒绝Python 2的理由</em></p> 
  <p>所有纠结学习Python 2还是Python 3的朋友都知道&#xff0c;按照Python官方的计划&#xff0c;Python 2只支持到2020年。可能大家接触Python的时间还不长&#xff0c;不知道Python官方曾经还说过&#xff0c;Python 2只支持到2015年(<a class="external" href="https://link.zhihu.com/?target&#61;https%3A//github.com/python/peps/blob/master/pep-0373.txt">https://github.com/python/peps/blob/master/pep-0373.txt</a>)。所以&#xff0c;大家可以看到&#xff0c;跳票不是中国人的特权&#xff0c;Python官方也是会跳票的。</p> 
  <p>如果大家关注科技新闻的话&#xff0c;会注意到&#xff0c;就在前几天&#xff0c;微软刚宣布将在2020年对Win 7停止任何技术支持&#xff0c;之后即使遇到BUG和安全问题&#xff0c;他们也不会再修复&#xff0c;就像现在的XP一样。但是&#xff0c;大家看看我们周围的同事、朋友、亲戚&#xff0c;到底是用Win 7的多还是用Win 10的多&#xff1f;这些用Win 7的人有吵着说我要升级Windows的吗&#xff1f;用Win 10的人有吵着让用Win 7的人升级吗&#xff1f;</p> 
  <p>但是&#xff0c;在Python这个圈子&#xff0c;就是有很多人吵着要让别人升级Python 3。很多时候用户并不关心自己用的是Python 2还是Python 3&#xff0c;只要能用就行。所以&#xff0c;用Python 2的人并没有什么动力去升级到Python 3。</p> 
  <p>如果你觉得&#xff0c;Python 3才是Python的未来&#xff0c;不希望接触Python 2的项目。那么&#xff0c;问题来了&#xff0c;女神跟你说&#xff0c;晚上来我家给我修下电脑呗&#xff0c;但是我的电脑是Windows XP的&#xff0c;你是去还是不去&#xff1f;</p> 
  <p><em>Python官方建议学习Python 3只是一种一厢情愿的行为</em></p> 
  <p>我们来看一下Python 2和Python 3的下载统计数据(<a class="wrap external" href="https://link.zhihu.com/?target&#61;http%3A//www.randalolson.com/2016/09/03/python-2-7-still-reigns-supreme-in-pip-installs/">Python 2.7 still reigns supreme in pip installs</a>)&#xff1a;</p> 
  <img alt="" class="origin_image zh-lightbox-thumb" src="https://imgconvert.csdnimg.cn/aHR0cHM6Ly9waWMxLnpoaW1nLmNvbS81MC92Mi0wZTBhOGVlOWY4NDY2NWJkZGRiYzI5YzdjNjA0MWM2Zl9iLmpwZw?x-oss-process&#61;image/format,png" width="756" />
  <img alt="" class="lazy origin_image zh-lightbox-thumb" src="https://imgconvert.csdnimg.cn/aHR0cHM6Ly9waWMxLnpoaW1nLmNvbS84MC92Mi0wZTBhOGVlOWY4NDY2NWJkZGRiYzI5YzdjNjA0MWM2Zl9oZC5qcGc?x-oss-process&#61;image/format,png" width="756" />
  <p>Python 2的使用量远远超过Python 3。而且&#xff0c;大家注意竖轴的单位&#xff0c;是指数&#xff01;简单换算一下就知道&#xff0c;仅从下载量来说&#xff0c;Python 2.7的下载量是总下载量的90%&#xff01;所以&#xff0c;学习Python&#xff0c;想直接抛弃Python 2学习Python 3&#xff0c;几乎是不可能的事情。</p> 
  <p>上面的数据是全球范围的统计数据&#xff0c;我们来看看中国互联网的情况。为了写这篇文章&#xff0c;我专门在同学群里面发了红包&#xff0c;邀请了来自百度、阿里、腾讯、网易、美团、华为、招行、建行、eBay、美图、Oracle等公司的一线技术专家&#xff0c;统计了各大公司使用Python的情况。</p> 
  <p>统计数据如下&#xff1a;</p> 
  <ul><li>10% 使用 Python 3</li><li>20% 既使用Python 2也使用Python 3&#xff0c;Python 2用的更多</li><li>70% 使用Python 2</li></ul>
  <p>统计数据基本与pypi的全球范围的统计数据吻合。所以&#xff0c;如果你说&#xff0c;我一开始学的就是Python 3&#xff0c;Python 3也是Python的未来&#xff0c;我不想去了解和学习Python 2。那么&#xff0c;你可能要和大半个中国互联网失之交臂了。或许你也不在乎&#xff0c;但是&#xff0c;如果有人拿钱砸你让你维护Python 2的代码呢&#xff1f;</p> 
  <p><em>Python 2还会存在很长一段时间</em></p> 
  <p>不知道大家有没有想过&#xff0c;为什么Python官方极力让大家使用Python 3&#xff0c;而Python 2依然处于统治地位呢&#xff1f;</p> 
  <p>其实答案很简单也很粗暴&#xff1a;因为绝大多数人&#xff0c;你给他什么&#xff0c;他就用什么。据我说知&#xff0c;尽管Python 3在2008年12月就已经发布了&#xff0c;但是&#xff0c;目前Python 3仍然不是任何操作系统的默认Python解释器&#xff0c;这是Python 3使用不广泛的主要原因。</p> 
  <p>我们都知道&#xff0c;在任何一家公司&#xff0c;升级服务器的操作系统版本都是一个很慎重事情。所以&#xff0c;我们有理由相信&#xff0c;Python 2还会存在很长一段时间。很长是多长呢&#xff1f;至少比2020年还要长。</p> 
  <h2>这个世界并不是非黑即白的&#xff0c;Python也不是</h2> 
  <p>有了前面的数据做支撑&#xff0c;我们不是应该学习Python 2吗&#xff0c;为什么Python 2和Python 3都要学呢&#xff1f;</p> 
  <p>首先&#xff0c;这个世界并不是非黑即白的&#xff0c;Python也不是。在学习Python 2和学习Python 3中间&#xff0c;其实有一个很好的平衡&#xff0c;那就是同时兼容Python 2和Python 3。为了做到同时兼容Python 2和Python 3&#xff0c;需要深用到Python的__future__库。__future__库里面包含了不少从Python 3 backport 到Python 2的特性&#xff0c;充分使用__future__库&#xff0c;可以很好的兼容Python 2和Python 3。</p> 
  <p>其次&#xff0c;Python 2和Python 3确实有一些差异&#xff0c;但是&#xff0c;并没有大家想象的那么大&#xff0c;Python 2和Python 3之间的差异不到Python语法的10%&#xff0c;我们可以快速地了解哪些Python 2里面的语法在Python 3中已经被弃用&#xff0c;在我们写代码的过程中&#xff0c;规避掉这一部分语法即可。在Python的最佳实践中&#xff0c;Python 3里弃用的Python语法&#xff0c;在Python 2里面也不推荐使用&#xff0c;不然也不会被弃用了。如果你知道并坚持Python的最佳实践&#xff0c;那么&#xff0c;对你来说&#xff0c;Python 2和Python 3的差异就更小了。</p> 
  <p>最后&#xff0c;我们可以参考优秀的开源软件的做法&#xff0c;如OpenStack&#xff0c;努力做到代码同时兼容Python 2和Python 3(<a class="wrap external" href="https://link.zhihu.com/?target&#61;https%3A//wiki.openstack.org/wiki/Python3">Python3 - OpenStack</a>)&#xff0c;也可以借助一些开软的库&#xff08;如six&#xff09;来同时兼容。如果能够做到同时兼容Python 2和Python 3&#xff0c;我们的使用者将更广泛&#xff0c;我们的代码也将更有价值。</p> 
  <p>拿Windows 来说&#xff0c;当 Windows 7 发布的时候&#xff08;我就不说 Vista 了&#xff09;&#xff0c;很多人依然抱着 XP 不放&#xff0c;当你问他们为什么时&#xff0c;他们会一本正经地说&#xff0c;“新系统好卡啊”&#xff0c;或是“好多软件都不兼容啊”&#xff0c;或是“改变很大啊&#xff0c;好不习惯啊”&#xff0c;甚至是“ XP 已经是很好的系统了&#xff0c;微软出个新系统就是为了坑钱”。</p> 
  <p>于是乎&#xff0c;春去春又来&#xff0c;送走了 Win 7 &#xff0c;我们又迎来了 Win 8 &#xff0c;但是这些人的想法依然没有改变&#xff08;我相信中国人中这种情况多一些&#xff09;。如果这种人很多而且这种情况持续下去的话&#xff0c;最终的结局只会是微软的状况越来越差&#xff0c;最终人们毫无选择&#xff0c;投降了Linux的怀抱&#xff08;咦&#xff1f;怎么有种心花怒放的感觉&#xff09;。<br /><br /> 当我在脑子里把上面的 Win XP 换成 Python 2 、Win 7 换成 Python 3 甚至 Python 4 时&#xff0c;不禁感到一阵恐惧&#xff0c;我差点就和其他人合谋把 Python 给害死&#xff01;试想一下&#xff0c;多年以后&#xff0c;Ruby 、Go 等语言都有了很多新的特性&#xff0c;虽然最新的 Python 也十分优秀&#xff0c;但因为一些人&#xff0c;不愿改变&#xff0c;坚守着老版本&#xff0c;抛出一些可笑的理由&#xff0c;最终 Python 因为用户习惯而没落了&#xff0c; Guido 和整个 Python 社区的努力都被这些人的习惯给无视了。<br /><br /> 让我们来看看这些可笑的理由&#xff08;关于详细的解释&#xff0c;可以看一下知乎上的徐酿泉的答案&#xff0c;我在这简单总结一下&#xff09;&#xff1a;<br /> 什么&#xff1f;支持 Python 3 的库太少&#xff1f;醒醒吧&#xff0c;这都6年了&#xff0c;最新都3.4.1了&#xff0c;现在还不支持 Python 3 的库大多是常年无人维护的东西了。<br /> 什么&#xff1f;新版本和旧版本兼容性差&#xff1f;放心吧&#xff0c;以后的版本会越来越不兼容&#xff0c;除非你打算死守 Python 2 一辈子。况且&#xff0c;为了新的特性&#xff0c;改变一下有那么难吗&#xff1f;<br /> 最后&#xff0c;那些还在坚守旧版本的人&#xff0c;你们的一堆理由和批评&#xff0c;真的不是在为自己的问题作辩护吗&#xff1f;</p> 
  <h2>stop talking, just do it</h2> 
  <p>前面说了我对学习Python 2还是Python 3的一些观点&#xff0c;希望能够帮助大家少走弯路&#xff0c;另外&#xff0c;关于Python的版本问题&#xff0c;我这里还有一些良心建议&#xff1a;</p> 
  <ul><li>学习Python前&#xff0c;先了解在Python 3里面已经弃用的Python 2语法&#xff0c;对这些部分简单带过不要花太多时间</li><li>使用Python 2&#xff0c;不要使用Python 2.7以前的版本</li><li>使用Python 3&#xff0c;不要使用Python 3.4以前的版本</li><li>多了解Python 2的__future__库</li><li>对同一份代码&#xff0c;不要为Python 2和Python 3分别维护分支&#xff0c;努力在一套代码中兼容Python 2和Python 3</li></ul>
  <p>这篇文章详细的说明了为什么要同时学习Python 2和Python 3&#xff0c;如何在Python 2和Python 3中找到一个平衡。但是&#xff0c;重要的不是纠结学习Python 3还是Python 2&#xff0c;而是“stop talking, just do it&#xff01;”。</p> 
 </div> 
</div> 
<h2>Python2与Python3的具体区别</h2> 
<h2>除了引入import from future&#xff0c;了解一下两者的区别也是很必要的</h2> 
<h2><code>print</code>函数:&#xff08;Python3中print为一个函数&#xff0c;<span style="color:#ff00ff;">必须用括号括起来</span>&#xff1b;Python2中print为class&#xff09;</h2> 
<p>Python 2 的 print 声明已经被 <code>print()</code> 函数取代了&#xff0c;这意味着我们必须包装我们想打印在小括号中的对象。</p> 
<p>Python 2</p> 
<table border="1"><tbody><tr><td style="border-color:#c0c0c0;"> 
    <div>
     1
    </div> 
    <div>
     2
    </div> 
    <div>
     3
    </div> 
    <div>
     4
    </div> </td><td style="border-color:#c0c0c0;"> 
    <div>
     print &#39;Python&#39;, python_version()
    </div> 
    <div>
     print &#39;Hello, World!&#39;
    </div> 
    <div>
     print(&#39;Hello, World!&#39;)
    </div> 
    <div>
     print &#34;text&#34;, ; print &#39;print more text on the same line&#39;
    </div> </td></tr></tbody></table>
<p>run result:<br /> Python 2.7.6<br /> Hello, World!<br /> Hello, World!<br /> text print more text on the same line</p> 
<p>Python 3</p> 
<table border="1"><tbody><tr><td style="border-color:#c0c0c0;"> 
    <div>
     1
    </div> 
    <div>
     2
    </div> 
    <div>
     3
    </div> 
    <div>
     4
    </div> </td><td style="border-color:#c0c0c0;"> 
    <div>
     print(&#39;Python&#39;, python_version())
    </div> 
    <div>
     print(&#39;Hello, World!&#39;)
    </div> 
    <div>
     print(&#34;some text,&#34;, end&#61;&#34;&#34;)
    </div> 
    <div>
     print(&#39; print more text on the same line&#39;)
    </div> </td></tr></tbody></table>
<p>run result:<br /> Python 3.4.1<br /> Hello, World!<br /> some text, print more text on the same line</p> 
<hr />
<h2 id="通过input()解析用户的输入">通过<code>input()</code>解析用户的输入&#xff1a;&#xff08;Python3中input得到的为str&#xff1b;Python2的input的到的为int型&#xff0c;Python2的raw_input得到的为str类型&#xff09;<span style="color:#ff00ff;">统一一下&#xff1a;Python3中用input&#xff0c;Python2中用row_input&#xff0c;都输入为str</span></h2> 
<p>幸运的是&#xff0c;在 Python 3 中已经解决了把用户的输入存储为一个 <code>str</code> 对象的问题。为了避免在 Python 2 中的读取非字符串类型的危险行为&#xff0c;我们不得不使用<span style="color:#ff00ff;"> <code>raw_input()</code></span> 代替。</p> 
<p>Python 2<br /> Python 2.7.6<br /> [GCC 4.0.1 (Apple Inc. build 5493)] on darwin<br /> Type “help”, “copyright”, “credits” or “license” for more information.</p> 
<pre class="has"><code>&gt;&gt;&gt; my_input &#61; input(&#39;enter a number: &#39;)

enter a number: 123

&gt;&gt;&gt; type(my_input)
&lt;type &#39;int&#39;&gt;

&gt;&gt;&gt; my_input &#61; raw_input(&#39;enter a number: &#39;)

enter a number: 123

&gt;&gt;&gt; type(my_input)
&lt;type &#39;str&#39;&gt;
</code></pre> 
<p>Python 3<br /> Python 3.4.1<br /> [GCC 4.2.1 (Apple Inc. build 5577)] on darwin<br /> Type “help”, “copyright”, “credits” or “license” for more information.</p> 
<pre class="has"><code>&gt;&gt;&gt; my_input &#61; input(&#39;enter a number: &#39;)

enter a number: 123

&gt;&gt;&gt; type(my_input)
&lt;class &#39;str&#39;&gt;</code></pre> 
<p> </p> 
<hr />
<p> </p> 
<h2 id="整除">整除:(没有太大影响)&#xff08;Python3中/表示真除&#xff0c;%表示取余&#xff0c;//表示地板除&#xff08;结果取整&#xff09;&#xff1b;Python2中/表示根据除数被除数小数点位得到结果&#xff0c;//同样表示地板除&#xff09;<span style="color:#ff00ff;">统一一下&#xff1a;Python3中/表示真除&#xff0c;%表示取余&#xff0c;//结果取整&#xff1b;Python2中带上小数点/表示真除&#xff0c;%表示取余&#xff0c;//结果取整</span></h2> 
<p>Python 2</p> 
<table border="1"><tbody><tr><td style="border-color:#c0c0c0;"> 
    <div>
     1
    </div> 
    <div>
     2
    </div> 
    <div>
     3
    </div> 
    <div>
     4
    </div> 
    <div>
     5
    </div> </td><td style="border-color:#c0c0c0;"> 
    <div>
     print &#39;Python&#39;, python_version()
    </div> 
    <div>
     print &#39;3 / 2 &#61;&#39;, 3 / 2
    </div> 
    <div>
     print &#39;3 // 2 &#61;&#39;, 3 // 2
    </div> 
    <div>
     print &#39;3 / 2.0 &#61;&#39;, 3 / 2.0
    </div> 
    <div>
     print &#39;3 // 2.0 &#61;&#39;, 3 // 2.0
    </div> </td></tr></tbody></table>
<p>run result:<br /> Python 2.7.6<br /> 3 / 2 &#61; 1<br /> 3 // 2 &#61; 1<br /> 3 / 2.0 &#61; 1.5<br /> 3 // 2.0 &#61; 1.0</p> 
<p>Python 3</p> 
<table border="1"><tbody><tr><td style="border-color:#c0c0c0;"> 
    <div>
     1
    </div> 
    <div>
     2
    </div> 
    <div>
     3
    </div> 
    <div>
     4
    </div> 
    <div>
     5
    </div> </td><td style="border-color:#c0c0c0;"> 
    <div>
     print(&#39;Python&#39;, python_version())
    </div> 
    <div>
     print(&#39;3 / 2 &#61;&#39;, 3 / 2)
    </div> 
    <div>
     print(&#39;3 // 2 &#61;&#39;, 3 // 2)
    </div> 
    <div>
     print(&#39;3 / 2.0 &#61;&#39;, 3 / 2.0)
    </div> 
    <div>
     print(&#39;3 // 2.0 &#61;&#39;, 3 // 2.0)
    </div> </td></tr></tbody></table>
<p>run result:<br /> Python 3.4.1<br /> 3 / 2 &#61; 1.5<br /> 3 // 2 &#61; 1<br /> 3 / 2.0 &#61; 1.5<br /> 3 // 2.0 &#61; 1.0</p> 
<hr />
<p> </p> 
<h2 id="xrange模块"><code>xrange</code>模块&#xff1a;</h2> 
<p>在 Python 3 中&#xff0c;<code>range()</code> 是像 <code>xrange()</code> 那样实现以至于一个专门的 <code>xrange()</code> 函数都不再存在&#xff08;在 Python 3 中<code>xrange()</code> 会抛出命名异常&#xff09;。</p> 
<p>在 Python 2 中 <code>xrange()</code> 创建迭代对象的用法是非常流行的。比如&#xff1a; <code>for</code> 循环或者是列表/集合/字典推导式。<br /> 　　这个表现十分像生成器&#xff08;比如。“惰性求值”&#xff09;。但是这个 <code>xrange-iterable</code> 是无穷的&#xff0c;意味着你可以无限遍历。<br /> 　　由于它的惰性求值&#xff0c;如果你不得仅仅不遍历它一次&#xff0c;<code>xrange()</code> 函数 比 <code>range()</code> 更快&#xff08;比如 <code>for</code> 循环&#xff09;。尽管如此&#xff0c;对比迭代一次&#xff0c;不建议你重复迭代多次&#xff0c;因为生成器每次都从头开始。</p> 
<hr />
<hr />
<table border="1"><tbody><tr><td style="border-color:#c0c0c0;"> 
    <div> 
     <p>python 2.4 与 python 3.0 的比较</p> 
     <p>一、 print 从语句变为函数</p> 
     <p>   原:     print   1, 2&#43;3</p> 
     <p>改为: print ( 1, 2&#43;3 )</p> 
     <p>二、range 与 xrange</p> 
     <p>原 : range( 0, 4 )   结果 是 列表 [0,1,2,3 ]</p> 
     <p>改为&#xff1a;list( range(0,4) )</p> 
     <p>原 : xrange( 0, 4 )    适用于 for 循环的变量控制</p> 
     <p>改为&#xff1a;range(0,4)</p> 
     <p>三、字符串</p> 
     <p>原: 字符串以 8-bit 字符串存储</p> 
     <p>改为: 字符串以 16-bit Unicode 字符串存储</p> 
     <p> </p> 
     <p>四、try except 语句的变化</p> 
     <p>原: try:</p> 
     <p>          ......</p> 
     <p>     except    Exception, e :</p> 
     <p>         ......</p> 
     <p>改为</p> 
     <p>    try:</p> 
     <p>          ......</p> 
     <p>     except    Exception as e :</p> 
     <p>         ......</p> 
     <p>五、打开文件</p> 
     <p>原&#xff1a; file( ..... )</p> 
     <p>    或 open(.....)</p> 
     <p>改为&#xff1a;</p> 
     <p>    只能用 open(.....)</p> 
     <p>六、从键盘录入一个字符串</p> 
     <p>原: raw_input( &#34;提示信息&#34; )</p> 
     <p>改为: input( &#34;提示信息&#34; )</p> 
     <p>七、bytes 数据类型</p> 
     <p> </p> 
     <p> </p> 
     <p>A bytes object is an immutable array. The items are 8-bit bytes, represented by integers in the range 0 &lt;&#61; x &lt; 256.</p> 
     <p>bytes 可以看成是“字节数组”对象&#xff0c;每个元素是 8-bit 的字节&#xff0c;取值范围 0~255。</p> 
     <p>由于在 python 3.0中字符串以 unicode 编码存储&#xff0c;当写入二进制文件时&#xff0c;字符串无法直接写入&#xff08;或读取&#xff09;&#xff0c;必须以某种方式的编码为字节序列后&#xff0c;方可写入。</p> 
     <p>&#xff08;一&#xff09;字符串编码(encode) 为 bytes</p> 
     <p>例:   s &#61; &#34;张三abc12&#34;</p> 
     <p>       b &#61; s.encode( 编码方式)</p> 
     <p>       # b 就是 bytes 类型的数据</p> 
     <p>      # 常用的编码方式为 &#xff1a; &#34;uft-16&#34;    , &#34;utf-8&#34;, &#34;gbk&#34;, &#34;gb2312&#34;, &#34;ascii&#34; , &#34;latin1&#34; 等</p> 
     <p>      # 注 &#xff1a; 当字符串不能编码为指定的“编码方式”时&#xff0c;会引发异常</p> 
     <p>(二) bytes 解码(decode)为字符串</p> 
     <p>      s &#61; &#34;张三abc12&#34;</p> 
     <p>       b &#61; s.encode( &#34;gbk&#34;)    # 字符串 s 编码为 gbk 格式的字节序列</p> 
     <p>       s1 &#61; b.decode(&#34;gbk&#34;)   # 将字节序列 b以gbk格式 解码为字符串</p> 
     <p>       # 说明&#xff0c;当字节序列不能以指定的编码格式解码时会引发异常</p> 
     <p>(三&#xff09;使用方法举例</p> 
     <p>#coding&#61;gbk</p> 
     <p>f &#61; open(&#34;c:\\1234.txt&#34;, &#34;wb&#34;)<br /> s &#61; &#34;张三李四abcd1234&#34;<br /> # -------------------------------<br /> # 在 python2.4 中我们可以这样写&#xff1a;<br /> # f.write( s )<br /> # 但在 python 3.0中会引发异常<br /> # -------------------------------<br /> b &#61; s.encode(&#34;gbk&#34;)<br /> f.write( b )<br /> f.close()</p> 
     <p>input(&#34;?&#34;)</p> 
     <p>读取该文件的例子:</p> 
     <p>#coding&#61;gbk</p> 
     <p>f &#61; open(&#34;c:\\1234.txt&#34;, &#34;rb&#34;)<br /> f.seek(0,2) #定位至文件尾<br /> n &#61; f.tell() #读取文件的字节数<br /> f.seek(0,0) #重新定位至文件开始处<br /> b &#61; f.read( n )<br /> # ------------------------------<br /> # 在 python 2.4 中 b 是字符串类型<br /> # 要 python 3.0 中 b 是 bytes 类型<br /> # 因此需要按指定的编码方式确码<br /> # ------------------------------ <br /> s &#61; b.decode(&#34;gbk&#34;)<br /> print ( s )<br /> # ------------------------------<br /> # 在 python 2.4 中 可以写作 print s 或 print ( s )<br /> # 要 python 3.0 中 必须写作 print ( s )<br /> # ------------------------------ <br /> f.close()<br /> input(&#34;?&#34;)</p> 
     <p>运行后应显示:</p> 
     <p>张三李四abcd1234</p> 
     <p> </p> 
     <p> </p> 
     <p> </p> 
     <p>(四) bytes序列&#xff0c;一但形成&#xff0c;其内容是不可变的</p> 
     <p>例&#xff1a;</p> 
     <p>s&#61;&#34;ABCD&#34;</p> 
     <p>b&#61;s.encode(&#34;gbk&#34;)</p> 
     <p>print b[0]       # 显示   65</p> 
     <p>b[0] &#61; 66   </p> 
     <p># 执行该句&#xff0c;出现异常: &#39;bytes&#39; object does not support item assignment</p> 
     <p> </p> 
     <p> </p> 
     <p>八、 chr( K ) 与 ord( c )</p> 
     <p>python 2.4.2以前</p> 
     <p>   chr( K )   将编码K 转为字符&#xff0c;K的范围是 0 ~ 255</p> 
     <p>   ord( c )   取单个字符的编码, 返回值的范围: 0 ~ 255</p> 
     <p>python 3.0</p> 
     <p>   chr( K )   将编码K 转为字符&#xff0c;K的范围是 0 ~ 65535</p> 
     <p>   ord( c )   取单个字符的编码, 返回值的范围: 0 ~ 65535</p> 
     <p>九、 除法运算符</p> 
     <p>python 2.4.2以前</p> 
     <p>   10/3      结果为 3     </p> 
     <p>python 3.0</p> 
     <p>   10 / 3 结果为 3.3333333333333335</p> 
     <p>   10 // 3 结果为 3</p> 
     <p>十、字节数组对象 --- 新增</p> 
     <p>(一&#xff09; 初始化</p> 
     <p>    a &#61; bytearray(   10 )</p> 
     <p>     # a 是一个由十个字节组成的数组&#xff0c;其每个元素是一个字节&#xff0c;类型借用 int</p> 
     <p>     # 此时&#xff0c;每个元素初始值为 0</p> 
     <p>&#xff08;二&#xff09; 字节数组 是可变的</p> 
     <p>    a &#61; bytearray(   10 )</p> 
     <p>     a[0] &#61; 25</p> 
     <p>     # 可以用赋值语句更改其元素&#xff0c;但所赋的值必须在 0 ~ 255 之间</p> 
     <p>(三)   字节数组的切片仍是字节数组</p> 
     <p>(四)   字符串转化为字节数组</p> 
     <p>     #coding&#61;gbk</p> 
     <p>     s &#61;&#34;你好&#34;</p> 
     <p>     b &#61; s.encode( &#34;gbk&#34;)     # 先将字符串按某种“GBK”编码方式转化为 bytes</p> 
     <p>     c &#61; bytearray( b )          #再将 bytes 转化为 字节数组</p> 
     <p>     也可以写作</p> 
     <p>     c &#61; bytearray( &#34;你好&#34;, &#34;gbk&#34;)</p> 
     <p> </p> 
     <p>(五)   字节数组转化为字符串</p> 
     <p>      c &#61; bytearray( 4 )</p> 
     <p>       c[0] &#61; 65 ; c[1]&#61;66; c[2]&#61; 67; c[3]&#61; 68</p> 
     <p>      s &#61; c.decode( &#34;gbk&#34; )</p> 
     <p>       print ( s )</p> 
     <p>      # 应显示&#xff1a; ABCD           </p> 
     <p> </p> 
     <p>(六) 字节数组可用于写入文本文件</p> 
     <p>#coding&#61;gbk</p> 
     <p>f &#61; open(&#34;c:\\1234.txt&#34;, &#34;wb&#34;)<br /> s &#61; &#34;张三李四abcd1234&#34;<br /> # -------------------------------<br /> # 在 python2.4 中我们可以这样写&#xff1a;<br /> # f.write( s )<br /> # 但在 python 3.0中会引发异常<br /> # -------------------------------<br /> b &#61; s.encode(&#34;gbk&#34;)</p> 
     <p>f.write( b )<br /> c&#61;bytearray( &#34;王五&#34;,&#34;gbk&#34;)<br /> f.write( c )<br /> f.close()</p> 
     <p>input(&#34;?&#34;)</p> 
    </div> </td></tr></tbody></table>
<p> </p> 
<p><strong>&gt;&gt;&gt;关于作者</strong><br /><br /> CSDN 博客专家&#xff0c;2019-CSDN百大博主&#xff0c;计算机&#xff08;机器学习方向&#xff09;博士在读&#xff0c;业余Kaggle选手&#xff0c;有过美团、腾讯算法工程师经历&#xff0c;目前就职于Amazon AI lab。喜爱分享和知识整合。</p> 
<blockquote> 
 <p>关注微信公众号&#xff0c;点击“学习资料”菜单即可获取算法、编程资源以及教学视频&#xff0c;还有免费SSR节点相送哦。其他平台&#xff08;<strong>微信/知乎/B站</strong>&#xff09;&#xff0c;欢迎关注同名公众号<strong>「图灵的猫」~</strong></p> 
</blockquote>
                </div>
        </div>
    </article>
</div>
<script>
    // 敏感词替换
    // replaceArticleContentWords(blogSensitiveWords,'sensitiveWords')
    // 高亮词
    // replaceArticleContentWords(blogHotWords,'hotWords')
    // 公共方法
    function replaceArticleContentWords(words,type){
      if(words){   
        var getContentViews = document.getElementById("content_views");
        var getContentTitle = document.getElementById("articleContentId");
        var contentViewsInnerHTML = getContentViews.innerHTML;
        var contentTitleInnerHTML = getContentTitle.innerHTML;
        var keyWordsJsonArr = [];
        var keyWordsArr = words.split(',');
        function repeatTimes(str, num){
            return num > 1 ? str += repeatTimes(str, --num): str;
        }
        for(var i = 0; i < keyWordsArr.length; i++){
            var keyWordsJson = {} ;
            keyWordsJson.key = keyWordsArr[i];
            if(type == 'hotWords'){
              keyWordsJson.value = '<span class="hot-words-highlight">'+keyWordsArr[i]+'</span>'
            }else if(type == 'sensitiveWords'){
              keyWordsJson.value = repeatTimes("*",keyWordsArr[i].length);
            }else {
              keyWordsJson.value = keyWordsArr[i]
            }
            keyWordsJsonArr.push(keyWordsJson);
        }
        var reg;
        for(var i = 0; i < keyWordsJsonArr.length; i++){
            var item = keyWordsJsonArr[i]; 
            if(type == 'hotWords'){
              reg = new RegExp(item.key,"ig");
            }
            if(type == 'sensitiveWords'){
              reg = new RegExp(item.key+"(?!([^<]*>)|([^<]*<\/a>))","ig");  
            }
            contentViewsInnerHTML = contentViewsInnerHTML.replace(reg,item.value);
            contentTitleInnerHTML = contentTitleInnerHTML.replace(reg,item.value);
        }
        getContentViews.innerHTML=contentViewsInnerHTML;
        getContentTitle.innerHTML=contentTitleInnerHTML;
      }
    }
</script>
<div class="more-toolbox" id="toolBarBox">
    <span id="fixedBar"></span>
    <div class="left-toolbox">
        <ul class="toolbox-list">
                <li class="tool-item item-subscribe"></li>
            <li class="tool-item tool-item-size tool-active is-like" id="is-like"><a>
            <img style="display:none;" id="is-like-imgactive-animation-like" class="animation-dom active-animation" src="https://csdnimg.cn/release/blogv2/dist/pc/img/tobarThumbUpactive.png" alt="">
            <img class="isactive" style="display:none" id="is-like-imgactive" src="https://csdnimg.cn/release/blogv2/dist/pc/img/tobarThumbUpactive.png" alt="">
            <img class="isdefault" style="display:block" id="is-like-img" src="https://csdnimg.cn/release/blogv2/dist/pc/img/tobarThumbUp.png" alt="">   
            <span class="name" id="is-like-span">点赞</span>
            <span id="spanCount" class="count">
                    76
            </span>
            </a></li>
            <li class="tool-item tool-item-size tool-active tool-item-comment">
                <a href="#commentBox">
                    <img class="isdefault" src="https://csdnimg.cn/release/blogv2/dist/pc/img/tobarComment.png" alt="">
                    <img class="isactive" src="https://csdnimg.cn/release/blogv2/dist/pc/img/tobarCommentactive.png" style="display:none;" alt="">
                    <span class="name">评论</span>
                    <span class="count">
                        22
                    </span>
                </a>
            </li>
            <li class="tool-item tool-item-size tool-active tool-QRcode" id="tool-share">
                <a href="javascript:;" data-report-click='{"mod":"1582594662_002","spm":"1001.2101.3001.4129","ab":"new"}'>
                    <img class="isdefault" src="https://csdnimg.cn/release/blogv2/dist/pc/img/tobarShare.png" alt="">
                    <img class="isactive" src="https://csdnimg.cn/release/blogv2/dist/pc/img/tobarShareactive.png" style="display:none;" alt="">
                    <span class="name">分享</span>
                </a>
                <div class="QRcode" id="tool-QRcode" style="left:-92%;">
                    <span id="QRcode-close">x</span>
                    <p class="title">
                    海报分享
                    </p>
                    <div id='shareCode'></div>
                    <p>
                    扫一扫，分享海报
                    </p>
                </div>
            </li>
            <li class="tool-item tool-item-size tool-active is-collection ">
                <a href="javascript:;" data-report-click='{"mod":"popu_824","spm":"1001.2101.3001.4130","ab":"new"}'>
                    <img style="display:none" id="is-collection-img-collection" class="animation-dom active-animation" src="https://csdnimg.cn/release/blogv2/dist/pc/img/tobarCollectionActive.png" alt="">
                    <img class="isdefault" id="is-collection-img" style="display:block" src="https://csdnimg.cn/release/blogv2/dist/pc/img/tobarCollect.png" alt="">
                    <img class="isactive" id="is-collection-imgactive" style="display:none" src="https://csdnimg.cn/release/blogv2/dist/pc/img/tobarCollectionActive.png" alt="">
                    <span class="name" id="is-collection">收藏</span>
                    <span class="count get-collection" id="get-collection">
                        211
                    </span>
                </a>
            </li>
            <li class="tool-item tool-item-size tool-active tool-reward">
                <a  id="toolreward" data-report-click='{"mod":"popu_830","spm":"1001.2101.3001.4237","dest":"","ab":"new"}'>
                    <img class="isdefault" src="https://csdnimg.cn/release/blogv2/dist/pc/img/tobarReward.png" alt="">
                    <img class="isactive" src="https://csdnimg.cn/release/blogv2/dist/pc/img/tobarRewardactive.png" style="display:none;" alt="">
                    <span class="name">打赏</span>
                </a>
<div id="reward" class="reward-box">
	<p class="rewad-title">打赏<span class="reward-close"><svg t="1567152543821" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="10924" xmlns:xlink="http://www.w3.org/1999/xlink" width="12" height="12"><defs><style type="text/css"></style></defs><path d="M512 438.378667L806.506667 143.893333a52.032 52.032 0 1 1 73.6 73.621334L585.621333 512l294.485334 294.485333a52.074667 52.074667 0 0 1-73.6 73.642667L512 585.621333 217.514667 880.128a52.053333 52.053333 0 1 1-73.621334-73.642667L438.378667 512 143.893333 217.514667a52.053333 52.053333 0 1 1 73.621334-73.621334L512 438.378667z" fill="" p-id="10925"></path></svg></span></p>
	<dl>
		<dd>
		<a href="https://y1ran.blog.csdn.net" data-report-click='{"mod":"popu_379","dest":"https://y1ran.blog.csdn.net","ab":"new"}'>
			<img src="https://profile.csdnimg.cn/C/8/1/3_qq_39521554" class="avatar_pic">
		</a>
		</dd>
		<dt>
			<p class="blog-name">闻人翎悬</p>
			<p class="blog-discript">小二，给客官上酒！</p>
		</dt>
	</dl>
	<div class="change-bt-box">
		<span class="reward-bt reward-bt-coin">C币</span>
		<span class="reward-bt-space"></span>
		<span class="reward-bt reward-bt-money reward-bt-active">余额</span>
	</div>
	<div class="money-box">
			<span class="choose_money choosed" data-id="2">2C币</span>
			<span class="choose_money " data-id="4">4C币</span>
			<span class="choose_money " data-id="6">6C币</span>
			<span class="choose_money " data-id="10">10C币</span>
			<span class="choose_money " data-id="20">20C币</span>
			<span class="choose_money " data-id="50">50C币</span>
	</div>
	<div class="sure-box">
		<p class="is-have-money"><a class="reward-sure">确定</a></p>
	</div>
</div>
            </li>
            <li class="tool-item tool-item-size tool-active tool-more">
              <a class="article-report">
                <img class="isdefault" src="https://csdnimg.cn/release/blogv2/dist/pc/img/tobarReport.png" alt="">
                <img class="isactive" src="https://csdnimg.cn/release/blogv2/dist/pc/img/tobarReportactive.png" style="display:none;" alt="">
                <span class="name">举报</span>
              </a>
            </li>
                <li class="tool-item">
                            <a class="tool-subscribe tool-bt-button tool-bt-subscribe" href="javascript:;" data-report-view='{"mod":"1592215036_001","spm":"1001.2101.3001.4226","extend1":"订阅"}' data-report-click='{"mod":"1592215036_001","spm":"1001.2101.3001.4226","extend1":"订阅"}'>订阅博主</a>
                </li>
            <li class="tool-item">
                    <a class="tool-attend tool-bt-button tool-bt-attend" href="javascript:;" data-report-view='{"mod":"1592215036_002","spm":"1001.2101.3001.4232","extend1":"关注"}'>关注</a>
                <a class="tool-item-follow active-animation" style="display:none;">关注</a>
            </li>
            <li class="tool-item">
                    <p class="company active" id="health-companies" href="javascript:;" >一键三连</p>
                <span class="triplet-prompt">点赞Mark关注该博主, 随时了解TA的最新博文<img class="close-prompt" src="https://csdnimg.cn/release/blogv2/dist/pc/img/closePrompt.png"></span>
            </li>
        </ul>
        <div style="display:flex">
         </div>
         <div class="hot-word-tip-box">
          <span class="hot-word-text">已标记关键词</span>
          <span class="hot-word-count"></span> 
          <span class="hot-word-bar"></span>
          <span class="hot-word-clear">清除标记</span>
        </div>
    </div>  
</div>
<script type=text/javascript crossorigin src="https://csdnimg.cn/release/phoenix/production/qrcode-7c90a92189.min.js"></script>
<script src="//g.csdnimg.cn/??sharewx/1.2.1/sharewx.js" type="text/javascript"></script>
<script type="text/javascript" crossorigin src="https://g.csdnimg.cn/collection-box/2.0.3/collection-box.js"></script>
                <div class="first-recommend-box recommend-box">
<div class="recommend-item-box type_blog clearfix" data-url="https://blog.csdn.net/ooowwq/article/details/103435760"  data-report-view='{"ab":"new","mod":"popu_871","extra":"{\"utm_medium\":\"distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.control\"}","dist_request_id":"","index":"1","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/ooowwq/article/details/103435760"}'>
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://blog.csdn.net/ooowwq/article/details/103435760" class="tit ellipsis-online ellipsis-online-1" target="_blank"  data-report-click='{"ab":"new","mod":"popu_871","extra":"{\"utm_medium\":\"distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.control\"}","dist_request_id":"","index":"1","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/ooowwq/article/details/103435760"}'  data-report-query='utm_medium=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.control&dist_request_id=&depth_1-utm_source=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.control'>
					资深程序员告诉你为什么要用<em>Python</em><em>3</em>而不是<em>Python</em><em>2</em>
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/ooowwq" target="_blank"><span class="blog-title">ooowwq的博客</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">12-07</span>
					<span class="info-block read"><img class="read-img" src="https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png" alt="">
					584
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://blog.csdn.net/ooowwq/article/details/103435760" target="_blank"  data-report-click='{"ab":"new","mod":"popu_871","extra":"{\"utm_medium\":\"distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.control\"}","dist_request_id":"","index":"1","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/ooowwq/article/details/103435760"}'  data-report-query='utm_medium=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.control&dist_request_id=&depth_1-utm_source=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.control'>
				<div class="desc ellipsis-online ellipsis-online-1">经常遇到这样的问题：《现在开始学习<em>python</em>的话，是学习<em>python</em><em>2</em>.x还是学习<em>python</em><em>3</em>.x比较好？》，这也是许多初学者会遇到的问题，我们的答案是<em>python</em> <em>3</em>.x. 为了帮助大家消除疑惑，在这里统一告诉大家<em>原因</em>



1. <em>Python</em><em>3</em>.1，io模块是使用<em>Python</em>语言实现的，比<em>2</em>.x快5~10倍

<em>2</em>. <em>Python</em><em>3</em>.1，str.format()支持自动编号：



<em>3</em>. P...</div>
			</a>
		</div>
	</div>
</div>
                </div>
            <div class="second-recommend-box recommend-box">
<div class="recommend-item-box type_blog clearfix" data-url="https://blog.csdn.net/ljl6158999/article/details/78983725"  data-report-view='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.control\"}","dist_request_id":"","index":"1","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/ljl6158999/article/details/78983725"}'>
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://blog.csdn.net/ljl6158999/article/details/78983725" class="tit ellipsis-online ellipsis-online-1" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.control\"}","dist_request_id":"","index":"1","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/ljl6158999/article/details/78983725"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.control&dist_request_id=&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.control'>
					<em>python</em><em>2</em>和<em>python</em><em>3</em>的<em>区别</em>大全
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/ljl6158999" target="_blank"><span class="blog-title">Chialin的博客</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">01-05</span>
					<span class="info-block read"><img class="read-img" src="https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png" alt="">
					1万+
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://blog.csdn.net/ljl6158999/article/details/78983725" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.control\"}","dist_request_id":"","index":"1","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/ljl6158999/article/details/78983725"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.control&dist_request_id=&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.control'>
				<div class="desc ellipsis-online ellipsis-online-1"><em>python</em><em>3</em>引入了一系列向后不兼容的变更。大多数不兼容的地方主要是：移除二义性和错误修正。
1.字符串类型

<em>python</em>中有两种字符类型：字节字符串和文本字符串。





版本 
<em>python</em><em>2</em> 
<em>python</em><em>3</em> 


字节字符串 
str 
bytes 


文本字符串 
Unicode 
str 






<em>2</em>.默认字符

p</div>
			</a>
		</div>
	</div>
</div>
            </div>
<a id="commentBox" name="commentBox"></a>
<div class="comment-box">
	<div class="comment-edit-box d-flex">
		<a id="commentsedit"></a>
		<div class="user-img">
			<a href="javascript:void(0);" >
				<img class="show_loginbox" src="https://g.csdnimg.cn/static/user-img/anonymous-User-img.png">
			</a>
		</div>
		<form id="commentform">
			<img class="comment-sofa-flag" src="https://csdnimg.cn/release/blogv2/dist/pc/img/commentFlag@2x.png">
      <textarea class="comment-content" name="comment_content" id="comment_content" placeholder="优质评论可以帮助作者获得更高权重" maxlength="1000"></textarea>
			<div class="comment-emoticon"><img class="comment-emoticon-img" data-url="https://csdnimg.cn/release/blogv2/dist/pc/img/" src="https://csdnimg.cn/release/blogv2/dist/pc/img/emoticon.png" alt="表情包"></div> 
      <span class="comment-emoticon-tip">插入表情</span>
      <div class="comment-emoticon-box">
        <div class="comment-emoticon-img-box">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:001.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/001.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:002.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/002.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:003.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/003.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:004.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/004.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:005.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/005.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:006.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/006.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:007.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/007.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:008.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/008.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:009.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/009.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:010.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/010.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:011.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/011.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:012.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/012.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:013.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/013.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:014.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/014.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:015.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/015.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:016.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/016.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:017.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/017.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:018.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/018.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:019.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/019.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:020.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/020.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:021.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/021.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:022.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/022.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:023.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/023.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:024.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/024.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:025.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/025.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:026.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/026.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:027.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/027.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:028.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/028.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:029.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/029.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:030.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/030.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:031.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/031.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:032.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/032.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:033.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/033.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:034.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/034.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:035.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/035.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:036.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/036.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:037.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/037.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:038.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/038.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:039.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/039.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:040.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/040.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:041.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/041.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:042.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/042.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:043.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/043.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:044.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/044.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:045.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/045.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:046.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/046.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:047.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/047.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:048.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/048.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:049.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/049.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:050.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/050.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:051.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/051.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:052.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/052.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:053.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/053.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:054.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/054.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:055.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/055.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:056.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/056.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:057.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/057.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:058.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/058.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:059.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/059.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:060.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/060.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:061.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/061.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:062.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/062.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:063.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/063.png">
            <img class="emoticon-monkey-img" data-emoticon="[face]monkey2:064.png[/face]" src="https://g.csdnimg.cn/static/face/monkey2/064.png">
        </div>
      </div>
      <div class="opt-box">
				<div id="ubbtools" class="add_code">
					<a href="#insertcode" code="code" target="_self"><i class="icon iconfont icon-daima"></i></a>
				</div>
				<input type="hidden" id="comment_replyId" name="comment_replyId">
				<input type="hidden" id="article_id" name="article_id" value="80855086">
				<input type="hidden" id="comment_userId" name="comment_userId" value="">
				<input type="hidden" id="commentId" name="commentId" value="">
				<div class="dropdown" id="myDrap">
					<a class="dropdown-face d-flex align-items-center" data-toggle="dropdown" role="button"
						aria-haspopup="true" aria-expanded="false">
						<div class="txt-selected text-truncate">添加代码片</div>
						<svg class="icon d-block" width="200px" height="100.00px" viewBox="0 0 2048 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path  d="M597.33333292 298.666667h853.333334L1023.99999992 725.333333 597.33333292 298.666667z"  /></svg>
					</a>
					<ul class="dropdown-menu" id="commentCode" aria-labelledby="drop4">
						<li><a data-code="html">HTML/XML</a></li>
						<li><a data-code="objc">objective-c</a></li>
						<li><a data-code="ruby">Ruby</a></li>
						<li><a data-code="php">PHP</a></li>
						<li><a data-code="csharp">C</a></li>
						<li><a data-code="cpp">C++</a></li>
						<li><a data-code="javascript">JavaScript</a></li>
						<li><a data-code="python">Python</a></li>
						<li><a data-code="java">Java</a></li>
						<li><a data-code="css">CSS</a></li>
						<li><a data-code="sql">SQL</a></li>
						<li><a data-code="plain">其它</a></li>
					</ul>
				</div>
				<div class="right-box" id="rightBox" data-type="2">
							<span id="tip_comment" class="tip">还能输入<em>1000</em>个字符</span>
							<a data-report-click='{"mod":"1582594662_003","spm":"1001.2101.3001.4227","ab":"new"}'><input type="submit"
									class="btn btn-sm btn-comment" value="发表评论"></a>
				</div>
			</div>
		</form>
		<input type="button" class="bt-comment-show" value="评论">
	</div>
	<div class="comment-list-container">
		<a id="comments"></a>
		<div class="comment-list-box">
		</div>
		<div id="commentPage" class="pagination-box d-none"></div>
		<div class="opt-box text-center">
			<div class="btn btn-sm btn-link-blue" id="btnMoreComment"></div>
		</div>
	</div>
</div>            <div class="recommend-box insert-baidu-box">
                <div class="recommend-item-box clearfix" style="display:none"></div>
<div class="recommend-item-box type_blog clearfix" data-url="https://pig66.blog.csdn.net/article/details/88079011"  data-report-view='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-OPENSEARCH-2.control\"}","dist_request_id":"","index":"2","strategy":"OPENSEARCH","dest":"https://pig66.blog.csdn.net/article/details/88079011"}'>
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://pig66.blog.csdn.net/article/details/88079011" class="tit ellipsis-online ellipsis-online-1" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-OPENSEARCH-2.control\"}","dist_request_id":"","index":"2","strategy":"OPENSEARCH","dest":"https://pig66.blog.csdn.net/article/details/88079011"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-OPENSEARCH-2.control&dist_request_id=&depth_1-utm_source=distribute.pc_relevant.none-task-blog-OPENSEARCH-2.control'>
					<em>Python</em>学习路线（<em>2</em>0<em>2</em>1修正版）
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/u014044812" target="_blank"><span class="blog-title">猪哥</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">03-02</span>
					<span class="info-block read"><img class="read-img" src="https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png" alt="">
					10万+
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://pig66.blog.csdn.net/article/details/88079011" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-OPENSEARCH-2.control\"}","dist_request_id":"","index":"2","strategy":"OPENSEARCH","dest":"https://pig66.blog.csdn.net/article/details/88079011"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-OPENSEARCH-2.control&dist_request_id=&depth_1-utm_source=distribute.pc_relevant.none-task-blog-OPENSEARCH-2.control'>
				<div class="desc ellipsis-online ellipsis-online-1">经历长达近一个月的资源筛<em>选</em>过程终于结束，总共1.5T的资源经过：去重、筛<em>选</em>、整理、归档之后一份粗略的<em>Python</em>学习曲线资源已经成型，虽然中间经历了很多坎坷，不过最终还是完成，猪哥也是第一时间与大家分享出来。
资料主要分为两部分：一、各个学习网站论坛等，二、百度云资料。网站论坛资源更新快，可以与大家互动；而百度云资源主要为视频，方便大家下载和在线观看，两种资源结合使用，学习和查找知识更方便！
一、...</div>
			</a>
		</div>
	</div>
</div>
<div class="recommend-item-box type_blog clearfix" data-url="https://blog.csdn.net/lmseo5hy/article/details/81704426"  data-report-view='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-OPENSEARCH-3.control\"}","dist_request_id":"","index":"3","strategy":"OPENSEARCH","dest":"https://blog.csdn.net/lmseo5hy/article/details/81704426"}'>
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://blog.csdn.net/lmseo5hy/article/details/81704426" class="tit ellipsis-online ellipsis-online-1" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-OPENSEARCH-3.control\"}","dist_request_id":"","index":"3","strategy":"OPENSEARCH","dest":"https://blog.csdn.net/lmseo5hy/article/details/81704426"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-OPENSEARCH-3.control&dist_request_id=&depth_1-utm_source=distribute.pc_relevant.none-task-blog-OPENSEARCH-3.control'>
					<em>Python</em>定义全局变量的用法
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/lmseo5hy" target="_blank"><span class="blog-title">lmseo5hy的博客</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">08-15</span>
					<span class="info-block read"><img class="read-img" src="https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png" alt="">
					17万+
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://blog.csdn.net/lmseo5hy/article/details/81704426" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-OPENSEARCH-3.control\"}","dist_request_id":"","index":"3","strategy":"OPENSEARCH","dest":"https://blog.csdn.net/lmseo5hy/article/details/81704426"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-OPENSEARCH-3.control&dist_request_id=&depth_1-utm_source=distribute.pc_relevant.none-task-blog-OPENSEARCH-3.control'>
				<div class="desc ellipsis-online ellipsis-online-1">全局变量是编程语言中常见的一种变量，通过全局定义，可以是某对象函数创建，也可以是本程序任何位置创建，能够被本程序中的所有对象或函数进行引用，全局变量的定义有利于程序的变量共享，简化了添加和修改的程序。

和C语言一样，<em>Python</em>也具有全局变量，其定义全局变量的用法有两种：

1. 声明法

该方法是直接在当前模块中进行全局变量定义声明，使用global的声明方式，再进行引用！


OLD_URL...</div>
			</a>
		</div>
	</div>
</div>
		<dl id="recommend-item-box-tow" class="recommend-item-box type_blog clearfix">
			
		</dl>
<div class="recommend-item-box type_blog clearfix" data-url="https://blog.csdn.net/merryken/article/details/9104199"  data-report-view='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-4.control\"}","dist_request_id":"","index":"4","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/merryken/article/details/9104199"}'>
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://blog.csdn.net/merryken/article/details/9104199" class="tit ellipsis-online ellipsis-online-1" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-4.control\"}","dist_request_id":"","index":"4","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/merryken/article/details/9104199"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-4.control&dist_request_id=&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-4.control'>
					<em>Python</em><em>3</em>.x和<em>Python</em><em>2</em>.x的<em>区别</em>
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/merryken" target="_blank"><span class="blog-title">merryken的专栏</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">06-16</span>
					<span class="info-block read"><img class="read-img" src="https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png" alt="">
					1684
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://blog.csdn.net/merryken/article/details/9104199" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-4.control\"}","dist_request_id":"","index":"4","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/merryken/article/details/9104199"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-4.control&dist_request_id=&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-4.control'>
				<div class="desc ellipsis-online ellipsis-online-1">这个星期开始学习<em>Python</em>了，因为看的书都是基于<em>Python</em><em>2</em>.x，而且我安装的是<em>Python</em><em>3</em>.1，所以书上写的地方好多都不适用于<em>Python</em><em>3</em>.1，特意在Google上search了一下<em>3</em>.x和<em>2</em>.x的<em>区别</em>。特此在自己的空间中记录一下，以备以后查找方便，也可以分享给想学习<em>Python</em>的friends.



1.性能&nbsp;
Py<em>3</em>.0运行 pystone benchmark的速度比Py</div>
			</a>
		</div>
	</div>
</div>
<div class="recommend-item-box type_blog clearfix" data-url="https://blog.csdn.net/pangcai1242/article/details/80535648"  data-report-view='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-5.control\"}","dist_request_id":"","index":"5","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/pangcai1242/article/details/80535648"}'>
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://blog.csdn.net/pangcai1242/article/details/80535648" class="tit ellipsis-online ellipsis-online-1" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-5.control\"}","dist_request_id":"","index":"5","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/pangcai1242/article/details/80535648"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-5.control&dist_request_id=&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-5.control'>
					<em>python</em><em>3</em>和<em>Python</em><em>2</em>的<em>区别</em>（被坑太久了）
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/pangcai1242" target="_blank"><span class="blog-title">pangcai1242的博客</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">06-01</span>
					<span class="info-block read"><img class="read-img" src="https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png" alt="">
					3623
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://blog.csdn.net/pangcai1242/article/details/80535648" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-5.control\"}","dist_request_id":"","index":"5","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/pangcai1242/article/details/80535648"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-5.control&dist_request_id=&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-5.control'>
				<div class="desc ellipsis-online ellipsis-online-1">﻿﻿&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;随笔 - 1<em>3</em>9&nbsp;  文章 - 0&nbsp;  评论 - 16 	    <em>python</em><em>3</em>和<em>Python</em><em>2</em>的<em>区别</em>（被坑太久了）		 print函数:（<em>Python</em><em>3</em>中print为一个函数，必须用括号括起来；<em>Python</em><em>2</em>中print为class）<em>Python</em> <em>2</em> 的 print 声明已经被&nbsp;print()&nbsp;函数取代了，这意味着我们必须包装我们想打印在小括号中的对象。<em>Python</em> <em>2</em>1<em>2</em><em>3</em>4...</div>
			</a>
		</div>
	</div>
</div>
<div class="recommend-item-box type_blog clearfix" data-url="https://shazhenyu.blog.csdn.net/article/details/88681429"  data-report-view='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-OPENSEARCH-6.control\"}","dist_request_id":"","index":"6","strategy":"OPENSEARCH","dest":"https://shazhenyu.blog.csdn.net/article/details/88681429"}'>
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://shazhenyu.blog.csdn.net/article/details/88681429" class="tit ellipsis-online ellipsis-online-1" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-OPENSEARCH-6.control\"}","dist_request_id":"","index":"6","strategy":"OPENSEARCH","dest":"https://shazhenyu.blog.csdn.net/article/details/88681429"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-OPENSEARCH-6.control&dist_request_id=&depth_1-utm_source=distribute.pc_relevant.none-task-blog-OPENSEARCH-6.control'>
					<em>python</em>开发大全、系列文章、精品教程（转）
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/u014597198" target="_blank"><span class="blog-title">沙师弟专栏</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">03-20</span>
					<span class="info-block read"><img class="read-img" src="https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png" alt="">
					6239
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://shazhenyu.blog.csdn.net/article/details/88681429" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-OPENSEARCH-6.control\"}","dist_request_id":"","index":"6","strategy":"OPENSEARCH","dest":"https://shazhenyu.blog.csdn.net/article/details/88681429"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-OPENSEARCH-6.control&dist_request_id=&depth_1-utm_source=distribute.pc_relevant.none-task-blog-OPENSEARCH-6.control'>
				<div class="desc ellipsis-online ellipsis-online-1">文章目录1、简介<em>2</em>、分享<em>3</em>、<em>python</em>基础教程4、<em>python</em>应用教程5、<em>python</em>后台架构Django教程6、<em>python</em>自动化测试教程7、<em>python</em>网络爬虫教程8、<em>python</em>数据分析存储教程9、<em>python</em>可视化教程10、<em>python</em>爬虫助手11、<em>python</em>爬虫案例1<em>2</em>、<em>python</em>机器学习算法案例1<em>3</em>、机器学习总结14、<em>python</em>机器学习库教程15、<em>python</em>自然语言处理库教程...</div>
			</a>
		</div>
	</div>
</div>
<div class="recommend-item-box type_blog clearfix" data-url="https://blog.csdn.net/lmseo5hy/article/details/81740339"  data-report-view='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-OPENSEARCH-7.control\"}","dist_request_id":"","index":"7","strategy":"OPENSEARCH","dest":"https://blog.csdn.net/lmseo5hy/article/details/81740339"}'>
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://blog.csdn.net/lmseo5hy/article/details/81740339" class="tit ellipsis-online ellipsis-online-1" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-OPENSEARCH-7.control\"}","dist_request_id":"","index":"7","strategy":"OPENSEARCH","dest":"https://blog.csdn.net/lmseo5hy/article/details/81740339"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-OPENSEARCH-7.control&dist_request_id=&depth_1-utm_source=distribute.pc_relevant.none-task-blog-OPENSEARCH-7.control'>
					<em>Python</em>爬虫的用途
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/lmseo5hy" target="_blank"><span class="blog-title">lmseo5hy的博客</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">08-16</span>
					<span class="info-block read"><img class="read-img" src="https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png" alt="">
					2万+
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://blog.csdn.net/lmseo5hy/article/details/81740339" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-OPENSEARCH-7.control\"}","dist_request_id":"","index":"7","strategy":"OPENSEARCH","dest":"https://blog.csdn.net/lmseo5hy/article/details/81740339"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-OPENSEARCH-7.control&dist_request_id=&depth_1-utm_source=distribute.pc_relevant.none-task-blog-OPENSEARCH-7.control'>
				<div class="desc ellipsis-online ellipsis-online-1"><em>Python</em>爬虫是用<em>Python</em>编程语言实现的网络爬虫，主要用于网络数据的抓取和处理，相比于其他语言，<em>Python</em>是一门非常适合开发网络爬虫的编程语言，大量内置包，可以轻松实现网络爬虫功能。

<em>Python</em>爬虫可以做的事情很多，如搜索引擎、采集数据、广告过滤等，<em>Python</em>爬虫还可以用于数据分析，在数据的抓取方面可以作用巨大！

<em>Python</em>爬虫架构组成

1. URL管理器：管理待爬取的url集...</div>
			</a>
		</div>
	</div>
</div>
<div class="recommend-item-box type_course clearfix" data-url="https://edu.csdn.net/course/detail/26676"  data-report-view='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-course-OPENSEARCH-8.control\"}","dist_request_id":"","index":"8","strategy":"OPENSEARCH","dest":"https://edu.csdn.net/course/detail/26676"}'>
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://edu.csdn.net/course/detail/26676" class="tit ellipsis-online ellipsis-online-1" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-course-OPENSEARCH-8.control\"}","dist_request_id":"","index":"8","strategy":"OPENSEARCH","dest":"https://edu.csdn.net/course/detail/26676"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-course-OPENSEARCH-8.control&dist_request_id=&depth_1-utm_source=distribute.pc_relevant.none-task-course-OPENSEARCH-8.control'>
					零基础掌握 <em>Python</em> 入门到实战
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info display-flex">
					<span class="info-block">11-08</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://edu.csdn.net/course/detail/26676" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-course-OPENSEARCH-8.control\"}","dist_request_id":"","index":"8","strategy":"OPENSEARCH","dest":"https://edu.csdn.net/course/detail/26676"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-course-OPENSEARCH-8.control&dist_request_id=&depth_1-utm_source=distribute.pc_relevant.none-task-course-OPENSEARCH-8.control'>
				<div class="desc ellipsis-online ellipsis-online-1">
	  


	
		  
	
	
		【为什么学<em>Python</em>】 
	
	
		 
	
	
		<em>Python</em> 是当今非常热门的语言之一，<em>2</em>0<em>2</em>0年的 TIOBE 编程语言排行榜中 ，<em>Python</em>名列第一，并且其流行度依然处在上升势头。 
	


	 


	在<em>2</em>015年的时候，在网上还经常看到学<em>Python</em>还是学R的讨论，那时候老齐就<em>选</em>择了<em>Python</em>，并且开始着手出版《跟老齐学<em>Python</em>》。时至今日，已经无需争论。<em>Python</em>给我们带来的，不仅仅是项目上的收益，我们更可以从它&ldquo;开放、简洁&rdquo;哲学观念中得到技术发展路线的启示。 


	


	借此机会，老齐联合CSDN推出了本课程，希望能影响更多的人走进<em>Python</em>，踏入编程的大门。 


	
 


	  


	
		【课程设计】 
	
	
		
 
	
	
		本课程共包含三大模块： 
	


	
 


	一、基础知识篇 


	内置对象和基本的运算、语句，是<em>Python</em>语言的基础。本课程在讲解这部分知识的时候，不是简单地将各种知识做简单的堆砌，而是在兼顾内容的全面性的同时，更重视向学习者讲授掌握有关知识的方法，比如引导学习者如何排查错误、如何查看和理解文档等。 


	&nbsp; 


	二、面向对象篇 


	&ldquo;面向对象（OOP）&rdquo;是目前企业开发主流的开发方式，本课程从一开始就渗透这种思想，并且在&ldquo;函数&rdquo;和&ldquo;类&rdquo;的学习中强化面向对象开发方式的学习&mdash;&mdash;这是本课程与一般课程的重要<em>区别</em>，一般的课程只在&ldquo;类&rdquo;这里才提到&ldquo;对象&rdquo;，会导致学习者茫然失措，并生畏惧，乃至于放弃学习。本课程则是从开始以&ldquo;润物细无声&rdquo;的方式，渗透对象概念，等学习到本部分的时候，OOP对学习者而言有一种&ldquo;水到渠成&rdquo;的感觉。 


	&nbsp; 


	三、工具实战篇 


	在项目实战中，除了前述的知识之外，还会用到很多其他工具，至于那些工具如何安装？怎么自己做工具？有那些典型工具？都是这部分的内容。具体来说，就是要在这部分介绍<em>Python</em>标准库的应用以及第三方包的安装，还有如何开发和发布自己的工具包。此外，很多学习<em>Python</em>的同学，未来要么从事数据科学、要么从事Web开发，不论哪个方向，都离不开对数据库的操作，本部分还会从实战的角度，介绍如何用<em>Python</em>语言操作常用数据库。 


	


	 
</div>
			</a>
		</div>
	</div>
</div>
<div class="recommend-item-box type_blog clearfix" data-url="https://blog.csdn.net/weixin_40264772/article/details/101599365"  data-report-view='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-OPENSEARCH-9.control\"}","dist_request_id":"","index":"9","strategy":"OPENSEARCH","dest":"https://blog.csdn.net/weixin_40264772/article/details/101599365"}'>
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://blog.csdn.net/weixin_40264772/article/details/101599365" class="tit ellipsis-online ellipsis-online-1" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-OPENSEARCH-9.control\"}","dist_request_id":"","index":"9","strategy":"OPENSEARCH","dest":"https://blog.csdn.net/weixin_40264772/article/details/101599365"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-OPENSEARCH-9.control&dist_request_id=&depth_1-utm_source=distribute.pc_relevant.none-task-blog-OPENSEARCH-9.control'>
					<em>Python</em>中如何求列表list的平均数
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/weixin_40264772" target="_blank"><span class="blog-title">weixin_40264772的博客</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">09-28</span>
					<span class="info-block read"><img class="read-img" src="https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png" alt="">
					11万+
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://blog.csdn.net/weixin_40264772/article/details/101599365" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-OPENSEARCH-9.control\"}","dist_request_id":"","index":"9","strategy":"OPENSEARCH","dest":"https://blog.csdn.net/weixin_40264772/article/details/101599365"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-OPENSEARCH-9.control&dist_request_id=&depth_1-utm_source=distribute.pc_relevant.none-task-blog-OPENSEARCH-9.control'>
				<div class="desc ellipsis-online ellipsis-online-1"><em>Python</em>中如何求列表list的平均数
当列表list中只包含数字时，如何求取它的平均数：
from numpy import *
a = [5<em>2</em>,69,<em>3</em>5,65,89,15,<em>3</em>4]
b = mean(a)
print(b)

运行结果:
51.<em>2</em>85714<em>2</em>85714<em>2</em>85


...</div>
			</a>
		</div>
	</div>
</div>
<div class="recommend-item-box type_blog clearfix" data-url="https://blog.csdn.net/love1code/article/details/46586067"  data-report-view='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-10.control\"}","dist_request_id":"","index":"10","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/love1code/article/details/46586067"}'>
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://blog.csdn.net/love1code/article/details/46586067" class="tit ellipsis-online ellipsis-online-1" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-10.control\"}","dist_request_id":"","index":"10","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/love1code/article/details/46586067"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-10.control&dist_request_id=&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-10.control'>
					<em>python</em><em>2</em>与<em>python</em><em>3</em>的<em>区别</em>
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/love1code" target="_blank"><span class="blog-title">code力力</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">06-22</span>
					<span class="info-block read"><img class="read-img" src="https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png" alt="">
					428
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://blog.csdn.net/love1code/article/details/46586067" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-10.control\"}","dist_request_id":"","index":"10","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/love1code/article/details/46586067"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-10.control&dist_request_id=&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-10.control'>
				<div class="desc ellipsis-online ellipsis-online-1">看到这个题目大家可能猜到了我接下来要讲些什么，呵呵，对了，那就是列出这两个不同版本间的却别！
搜索一下大家就会知道，<em>python</em>有两个主要的版本，<em>python</em><em>2</em> 和 <em>python</em><em>3</em> ，但是<em>python</em>又不同于其他语言，向下兼容，<em>python</em><em>3</em>是不向下兼容的，但是绝大多数组件和扩展都是基于<em>python</em><em>2</em>的，下面就来总结一下<em>python</em><em>2</em>和<em>python</em><em>3</em>的<em>区别</em>。


&nbsp;
1.性能&nbsp;
Py<em>3</em></div>
			</a>
		</div>
	</div>
</div>
<div class="recommend-item-box type_blog clearfix" data-url="https://blog.csdn.net/qq_41053152/article/details/112396470"  data-report-view='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-11.control\"}","dist_request_id":"","index":"11","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/qq_41053152/article/details/112396470"}'>
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://blog.csdn.net/qq_41053152/article/details/112396470" class="tit ellipsis-online ellipsis-online-1" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-11.control\"}","dist_request_id":"","index":"11","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/qq_41053152/article/details/112396470"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-11.control&dist_request_id=&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-11.control'>
					<em>python</em><em>3</em>基础知识大全
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/qq_41053152" target="_blank"><span class="blog-title">qq_41053152的博客</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">01-09</span>
					<span class="info-block read"><img class="read-img" src="https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png" alt="">
					45
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://blog.csdn.net/qq_41053152/article/details/112396470" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-11.control\"}","dist_request_id":"","index":"11","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/qq_41053152/article/details/112396470"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-11.control&dist_request_id=&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-11.control'>
				<div class="desc ellipsis-online ellipsis-online-1">第1章 <em>Python</em>入门导学
1.1 <em>python</em>优点
1 简洁。例如交换变量x,y=y,x
<em>2</em> 易于学习难于精通。
<em>3</em> 语法优雅。
4 跨平台，windows,linux ,macos.
5 <em>python</em>动态脚本，java静态
6 极为强大丰富的标准库和第三方库
7 面向对象（只是一种思想不是代码的特性），把现实世界中的事物抽象为对象存在于语言。理解为代码的组织和构建方式。
1.<em>2</em> <em>python</em>缺点
慢。相比于C、C＋＋、JAVA运行慢。
​         编译型语言（C C++）预编译先编译成机器码。</div>
			</a>
		</div>
	</div>
</div>
<div class="recommend-item-box type_blog clearfix" data-url="https://blog.csdn.net/wcg541/article/details/94899714"  data-report-view='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-12.control\"}","dist_request_id":"","index":"12","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/wcg541/article/details/94899714"}'>
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://blog.csdn.net/wcg541/article/details/94899714" class="tit ellipsis-online ellipsis-online-1" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-12.control\"}","dist_request_id":"","index":"12","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/wcg541/article/details/94899714"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-12.control&dist_request_id=&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-12.control'>
					图解<em>Python</em> 玩转<em>Python</em> 秒懂<em>python</em>
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/wcg541" target="_blank"><span class="blog-title">Python追梦</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">07-06</span>
					<span class="info-block read"><img class="read-img" src="https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png" alt="">
					1万+
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://blog.csdn.net/wcg541/article/details/94899714" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-12.control\"}","dist_request_id":"","index":"12","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/wcg541/article/details/94899714"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-12.control&dist_request_id=&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-12.control'>
				<div class="desc ellipsis-online ellipsis-online-1">0 <em>Python</em> 解释器：

<em>Python</em>数据结构：

<em>2</em>.变量与运算符

<em>3</em> <em>Python</em> 流程控制

4 <em>Python</em> 文件处理

5 <em>python</em> 输入输出

6 <em>Python</em> 异常

7 <em>Python</em> 函数和模块

8 <em>Python</em> 面相对象：

9 <em>python</em> 多线程

10 <em>Python</em> 标准库

11 <em>Python</em> 第三方库


...</div>
			</a>
		</div>
	</div>
</div>
<div class="recommend-item-box type_blog clearfix" data-url="https://blog.csdn.net/smxjant/article/details/93614544"  data-report-view='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-OPENSEARCH-13.control\"}","dist_request_id":"","index":"13","strategy":"OPENSEARCH","dest":"https://blog.csdn.net/smxjant/article/details/93614544"}'>
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://blog.csdn.net/smxjant/article/details/93614544" class="tit ellipsis-online ellipsis-online-1" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-OPENSEARCH-13.control\"}","dist_request_id":"","index":"13","strategy":"OPENSEARCH","dest":"https://blog.csdn.net/smxjant/article/details/93614544"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-OPENSEARCH-13.control&dist_request_id=&depth_1-utm_source=distribute.pc_relevant.none-task-blog-OPENSEARCH-13.control'>
					<em>Python</em>基础教程，<em>Python</em>入门教程（非常详细）
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/smxjant" target="_blank"><span class="blog-title">xjanting的博客</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">06-25</span>
					<span class="info-block read"><img class="read-img" src="https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png" alt="">
					13万+
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://blog.csdn.net/smxjant/article/details/93614544" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-OPENSEARCH-13.control\"}","dist_request_id":"","index":"13","strategy":"OPENSEARCH","dest":"https://blog.csdn.net/smxjant/article/details/93614544"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-OPENSEARCH-13.control&dist_request_id=&depth_1-utm_source=distribute.pc_relevant.none-task-blog-OPENSEARCH-13.control'>
				<div class="desc ellipsis-online ellipsis-online-1">第1章 <em>Python</em>编程基础

1.编程语言是什么

<em>2</em>.编译型语言和解释型语言

<em>3</em>.<em>Python</em>是什么

4.<em>Python</em>具有哪些特点（优点和缺点）

5.学<em>Python</em>，不需要有编程基础！

6.学<em>Python</em>能干什么

7.<em>Python</em> <em>2</em>.x和<em>Python</em> <em>3</em>.x，初学者应如何<em>选</em>择？

8.<em>Python</em> <em>3</em>和<em>Python</em> <em>2</em>的<em>区别</em>

9.<em>Python</em> <em>2</em>to<em>3</em>：自动将<em>Python</em> <em>2</em>.x...</div>
			</a>
		</div>
	</div>
</div>
<div class="recommend-item-box type_blog clearfix" data-url="https://yanbober.blog.csdn.net/article/details/73162298"  data-report-view='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-14.control\"}","dist_request_id":"","index":"14","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://yanbober.blog.csdn.net/article/details/73162298"}'>
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://yanbober.blog.csdn.net/article/details/73162298" class="tit ellipsis-online ellipsis-online-1" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-14.control\"}","dist_request_id":"","index":"14","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://yanbober.blog.csdn.net/article/details/73162298"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-14.control&dist_request_id=&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-14.control'>
					<em>Python</em><em>3</em>.X 爬虫实战（先爬起来嗨）
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/yanbober" target="_blank"><span class="blog-title">工匠若水</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">06-13</span>
					<span class="info-block read"><img class="read-img" src="https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png" alt="">
					7万+
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://yanbober.blog.csdn.net/article/details/73162298" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-14.control\"}","dist_request_id":"","index":"14","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://yanbober.blog.csdn.net/article/details/73162298"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-14.control&dist_request_id=&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-14.control'>
				<div class="desc ellipsis-online ellipsis-online-1">爬虫的价值就不多说了，<em>Python</em> 的便捷与强大也就不 BB 了，在这个数据泛滥、追求效率的时代，使用 <em>Python</em> 可以为我们创造相当多的便捷，Web 开发、桌面小工具开发、粘性脚本编写、大数据处理、图像处理、机器学习等等，能做到的事情实在太多。</div>
			</a>
		</div>
	</div>
</div>
<div class="recommend-item-box type_blog clearfix" data-url="https://dream.blog.csdn.net/article/details/86106916"  data-report-view='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-15.control\"}","dist_request_id":"","index":"15","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://dream.blog.csdn.net/article/details/86106916"}'>
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://dream.blog.csdn.net/article/details/86106916" class="tit ellipsis-online ellipsis-online-1" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-15.control\"}","dist_request_id":"","index":"15","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://dream.blog.csdn.net/article/details/86106916"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-15.control&dist_request_id=&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-15.control'>
					<em>Python</em>爬虫100例教程导航帖（已完结）
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/hihell" target="_blank"><span class="blog-title">橡皮擦，一个逗趣的互联网高级网虫</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">08-14</span>
					<span class="info-block read"><img class="read-img" src="https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png" alt="">
					5万+
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://dream.blog.csdn.net/article/details/86106916" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-15.control\"}","dist_request_id":"","index":"15","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://dream.blog.csdn.net/article/details/86106916"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-15.control&dist_request_id=&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-15.control'>
				<div class="desc ellipsis-online ellipsis-online-1"><em>Python</em>爬虫入门教程导航，目标100篇。

本系列博客争取把爬虫入门阶段的所有内容都包含住，需要你有较好的<em>Python</em>基础知识，当然你完全零基础也可以观看本系列博客。

<em>Python</em>爬虫入门教程，加油！

</div>
			</a>
		</div>
	</div>
</div>
<div class="recommend-item-box type_blog clearfix" data-url="https://blog.csdn.net/weixin_42832313/article/details/91535113"  data-report-view='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-16.control\"}","dist_request_id":"","index":"16","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/weixin_42832313/article/details/91535113"}'>
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://blog.csdn.net/weixin_42832313/article/details/91535113" class="tit ellipsis-online ellipsis-online-1" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-16.control\"}","dist_request_id":"","index":"16","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/weixin_42832313/article/details/91535113"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-16.control&dist_request_id=&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-16.control'>
					<em>python</em><em>3</em>和<em>Python</em><em>2</em>的<em>区别</em>
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/weixin_42832313" target="_blank"><span class="blog-title">Qiu先生的博客</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">06-12</span>
					<span class="info-block read"><img class="read-img" src="https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png" alt="">
					383
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://blog.csdn.net/weixin_42832313/article/details/91535113" target="_blank"  data-report-click='{"ab":"new","mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-16.control\"}","dist_request_id":"","index":"16","strategy":"BlogCommendFromMachineLearnPai2","dest":"https://blog.csdn.net/weixin_42832313/article/details/91535113"}'  data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-16.control&dist_request_id=&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-16.control'>
				<div class="desc ellipsis-online ellipsis-online-1">print函数:（<em>Python</em><em>3</em>中print为一个函数， 必须用括号括起来 ；<em>Python</em><em>2</em>中print为class）
<em>Python</em> <em>2</em> 的 print 声明已经被 print() 函数取代了，这意味着我们必须包装我们想打印在小括号中的对象。
<em>Python</em> <em>2</em>
1  print &lsquo;<em>Python</em>&rsquo;, <em>python</em>_version()
<em>2</em>  print &lsquo;Hello, World!&rsquo;
<em>3</em>  print...</div>
			</a>
		</div>
	</div>
</div>
            </div>
            <div class="template-box">
                <span>©️2020 CSDN</span>
                <span>皮肤主题: Age of Ai</span>
                <span> 设计师:meimeiellie</span>
                <span>
                    <a href="https://blog.csdn.net/" class="back-home c-blue c-blue-hover c-blue-focus">返回首页</a>
                </span>
            </div>
<div class="blog-footer-bottom" style="margin-top:10px;"></div>
<script src="https://g.csdnimg.cn/common/csdn-footer/csdn-footer.js" data-isfootertrack="false" type="text/javascript"></script>
<script type="text/javascript">
    window.csdn.csdnFooter.options = {
        el: '.blog-footer-bottom',
        type: 2
    }
</script>        </main>
<aside class="blog_container_aside">
    <div id="asideProfile" class="aside-box">
    <div class="profile-intro d-flex">
        <div class="avatar-box d-flex justify-content-center flex-column">
            <a href="https://y1ran.blog.csdn.net" data-report-click='{"mod":"popu_379","spm":"1001.2101.3001.4121","dest":"https://y1ran.blog.csdn.net","ab":"new"}'>
                <img src="https://profile.csdnimg.cn/C/8/1/3_qq_39521554" class="avatar_pic">
            </a>
        </div>
        <div class="user-info d-flex flex-column profile-intro-name-box">
            <div class="profile-intro-name-boxTop">
                <a href="https://y1ran.blog.csdn.net" class="" id="uid" title="闻人翎悬" data-report-click='{"mod":"popu_379","spm":"1001.2101.3001.4122","dest":"https://y1ran.blog.csdn.net","ab":"new"}'>
                    <span class="name " username="qq_39521554">闻人翎悬</span>
                </a>
                <span>
                </span>
                <span class="flag expert-blog">
                <img class="identity" src="https://csdnimg.cn/release/blogv2/dist/mobile/img/expertNew.png" alt="">
                <span class="bubble">CSDN认证博客专家</span>
                </span>
                <span class="flag company-blog">
                <span class="bubble">CSDN认证企业博客</span>
                </span>
            </div>
            <div class="profile-intro-name-boxFooter">
                <span class="personal-home-page personal-home-years">码龄4年</span>
                    <span class="personal-home-page">
                    <a class="personal-home-certification" href="https://i.csdn.net/#/uc/profile?utm_source=14998968" target="_blank" title="暂无认证">
                    <img src="https://csdnimg.cn/identity/nocErtification.png" alt="">
                    暂无认证
                    </a>
                    </span>
            </div>
        </div>
    </div>
    <div class="data-info d-flex item-tiling">
        <dl class="text-center" title="263">
            <a href="https://y1ran.blog.csdn.net" data-report-click='{"mod":"1598321000_001","spm":"1001.2101.3001.4310"}' data-report-query="t=1">  
                <dt><span class="count">263</span></dt>
                <dd class="font">原创</dd>
            </a>
        </dl>
        <dl class="text-center" data-report-click='{"mod":"1598321000_002","spm":"1001.2101.3001.4311"}' title="958">
            <a href="https://blog.csdn.net/rank/writing_rank" target="_blank">
                <dt><span class="count">958</span></dt>
                <dd class="font">周排名</dd>
            </a>
        </dl>
        <dl class="text-center" title="976">
            <a href="https://blog.csdn.net/rank/writing_rank_total" data-report-click='{"mod":"1598321000_003","spm":"1001.2101.3001.4312"}' target="_blank">
                <dt><span class="count">976</span></dt>
                <dd class="font">总排名</dd>
            </a>
        </dl>
        <dl class="text-center" style="min-width:58px" title="3480383">  
            <dt><span class="count">348万+</span></dt>
            <dd>访问</dd>
        </dl>
        <dl class="text-center" title="7级,点击查看等级说明">
            <dt><a href="https://blog.csdn.net/home/help.html#level" target="_blank">
                <img class="level" src="https://csdnimg.cn/identity/blog7.png">
            </a>
            </dt>
            <dd>等级</dd>
        </dl>
    </div>
    <div class="item-rank"></div>
    <div class="data-info d-flex item-tiling">
        <dl class="text-center" title="19692">
            <dt><span class="count">1万+</span></dt>
            <dd>积分</dd>
        </dl>
         <dl class="text-center" id="fanBox" title="3587">
            <dt><span class="count" id="fan">3587</span></dt>
            <dd>粉丝</dd>
        </dl>
        <dl class="text-center" title="2378">
            <dt><span class="count">2378</span></dt>
            <dd>获赞</dd>
        </dl>
        <dl class="text-center" title="674">
            <dt><span class="count">674</span></dt>
            <dd>评论</dd>
        </dl>
        <dl class="text-center" title="4913">
            <dt><span class="count">4913</span></dt>
            <dd>收藏</dd>
        </dl>
    </div>
    <div class="aside-box-footer" data-report-view='{"spm":"3001.4296"}'>
        <div class="badge-box d-flex">
            <div class="badge d-flex">
                <div class="icon-badge" title="GitHub">
                    <div class="mouse-box">
                        <img class="medal-img" data-report-click='{"spm":"3001.4296"}' src="https://csdnimg.cn/medal/github@240.png" alt="GitHub">
                    </div>
                </div>
                <div class="icon-badge" title="签到新秀">
                    <div class="mouse-box">
                        <img class="medal-img" data-report-click='{"spm":"3001.4296"}' src="https://csdnimg.cn/medal/qiandao1@240.png" alt="签到新秀">
                    </div>
                </div>
                <div class="icon-badge" title="专栏达人">
                    <div class="mouse-box">
                        <img class="medal-img" data-report-click='{"spm":"3001.4296"}' src="https://csdnimg.cn/medal/zhuanlandaren@240.png" alt="专栏达人">
                    </div>
                </div>
                <div class="icon-badge" title="持之以恒">
                    <div class="mouse-box">
                        <img class="medal-img" data-report-click='{"spm":"3001.4296"}' src="https://csdnimg.cn/medal/chizhiyiheng@240.png" alt="持之以恒">
                    </div>
                </div>
                <div class="icon-badge" title="1024勋章">
                    <div class="mouse-box">
                        <img class="medal-img" data-report-click='{"spm":"3001.4296"}' src="https://csdnimg.cn/medal/1024@240.png" alt="1024勋章">
                    </div>
                </div>
                <div class="icon-badge" title="勤写标兵Lv4">
                    <div class="mouse-box">
                        <img class="medal-img" data-report-click='{"spm":"3001.4296"}' src="https://csdnimg.cn/medal/qixiebiaobing4@240.png" alt="勤写标兵Lv4">
                    </div>
                </div>
                <div class="icon-badge" title="学习力">
                    <div class="mouse-box">
                        <img class="medal-img" data-report-click='{"spm":"3001.4296"}' src="https://csdnimg.cn/medal/yuanli_xuexili@240.png" alt="学习力">
                    </div>
                </div>
                <div class="icon-badge" title="博客之星-入围">
                    <div class="mouse-box">
                        <img class="medal-img" data-report-click='{"spm":"3001.4296"}' src="https://csdnimg.cn/medal/bokezhixing21-200@240.png" alt="博客之星-入围">
                    </div>
                </div>
                <div class="icon-badge" title="原力新人">
                    <div class="mouse-box">
                        <img class="medal-img" data-report-click='{"spm":"3001.4296"}' src="https://csdnimg.cn/medal/yuanli_xinren@240.png" alt="原力新人">
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="profile-intro-name-boxOpration">
        <div class="opt-letter-watch-box">
        <a class="bt-button personal-letter" href="https://im.csdn.net/chat/qq_39521554" target="_blank" rel="noopener">私信</a>
        </div>
        <div class="opt-letter-watch-box"> 
            <a class="personal-watch bt-button" id="btnAttent" >关注</a>  
        </div>
    </div>
</div>
<div id="asideSearchArticle" class="aside-box">
	<div class="aside-content search-comter">
    <div class="aside-search aside-search-blog">         
        <input type="text" class="input-serch-blog" name="" autocomplete="off" value="" id="search-blog-words" placeholder="搜博主文章">
        <a class="btn-search-blog">
                    <img src="//csdnimg.cn/cdn/content-toolbar/csdn-sou.png?v=1587021042">
        </a>
    </div>
    </div>
</div>

<div id="asideCustom" class="aside-box custom-box">
    <h3 class="aside-title">More Info about Me</h3>
    <div class="aside-content clearfix">
        <center> 
 <img src="https://imgconvert.csdnimg.cn/aHR0cHM6Ly9tbWJpei5xcGljLmNuL21tYml6X2dpZi9vR281RTNvSjB2ZTMyRnlhWDJkTXNDVFlseXprREJUVk1FWFlqSEtRelRIZ1p3VzU2TTVyMjRqajhDZ0hRcWljU0g2NXNrYTgwVmliT0RuaWN5Q2huRDZWdy82NDA?x-oss-process&#61;image/format,png" /> 
</center> 扫描二维码关注&#xff0c;加入“学习小组”&#xff0c;随时发帖留言&#xff0c;博主在线答疑。公众号内更有高质量AI、算法、编程相关的系列文章&#xff0c;以及免费的SSR节点和学习资料等~ 
<center> 
 <img src="https://img-blog.csdnimg.cn/20191227232703959.PNG?x-oss-process&#61;image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly95MXJhbi5ibG9nLmNzZG4ubmV0,size_16,color_FFFFFF,t_70" /> 
</center>
<br /> 
<a title="my github" href="https://github.com/Y1ran" target="_blank" rel="noopener noreferrer"> _______________________|| Github || </a> 
<a title="my Zhihu" href="https://zhuanlan.zhihu.com/algri" target="_blank" rel="noopener noreferrer"> _______________________|| 知乎 || </a>  
<a title="my Zhihu" href="http://www.sribd.cn/index.php/cn/" target="_blank" rel="noopener noreferrer"> _______________________|| 大数据研究院 || </a> 
<br />
    </div>
</div>    

<div id="asideHotArticle" class="aside-box">
	<h3 class="aside-title">热门文章</h3>
	<div class="aside-content">
		<ul class="hotArticle-list">
			<li>
				<a href="https://y1ran.blog.csdn.net/article/details/79083864" target="_blank"  data-report-click='{"mod":"popu_541","spm":"1001.2101.3001.4139","dest":"https://y1ran.blog.csdn.net/article/details/79083864","ab":"new"}'>
				别怕，&quot;卷积&quot;其实很简单
					<img src="https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png" alt="">
					<span class="read">199764</span>
                </a>
			</li>
			<li>
				<a href="https://y1ran.blog.csdn.net/article/details/81385159" target="_blank"  data-report-click='{"mod":"popu_541","spm":"1001.2101.3001.4139","dest":"https://y1ran.blog.csdn.net/article/details/81385159","ab":"new"}'>
				对全连接层（fully connected layer）的通俗理解
					<img src="https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png" alt="">
					<span class="read">160748</span>
                </a>
			</li>
			<li>
				<a href="https://y1ran.blog.csdn.net/article/details/79039548" target="_blank"  data-report-click='{"mod":"popu_541","spm":"1001.2101.3001.4139","dest":"https://y1ran.blog.csdn.net/article/details/79039548","ab":"new"}'>
				Coursera视频无法观看的三种不同解决方法（亲测有效）
					<img src="https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png" alt="">
					<span class="read">159183</span>
                </a>
			</li>
			<li>
				<a href="https://y1ran.blog.csdn.net/article/details/80855086" target="_blank"  data-report-click='{"mod":"popu_541","spm":"1001.2101.3001.4139","dest":"https://y1ran.blog.csdn.net/article/details/80855086","ab":"new"}'>
				Python2和Python3的区别，以及为什么选Python3的原因
					<img src="https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png" alt="">
					<span class="read">140347</span>
                </a>
			</li>
			<li>
				<a href="https://y1ran.blog.csdn.net/article/details/80855357" target="_blank"  data-report-click='{"mod":"popu_541","spm":"1001.2101.3001.4139","dest":"https://y1ran.blog.csdn.net/article/details/80855357","ab":"new"}'>
				Pycharm学生版安装教程（2019-12月更新）
					<img src="https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png" alt="">
					<span class="read">114277</span>
                </a>
			</li>
		</ul>
	</div>
</div>
<div id="asideCategory" class="aside-box flexible-box">
    <h3 class="aside-title">分类专栏</h3>
    <div class="aside-content">
        <ul>
            <li class="">
                <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_9605683.html" data-report-click='{"mod":"popu_826","spm":"1001.2101.3001.4230","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_9605683.html","ab":"new"}'>
                    <img src="https://img-blog.csdnimg.cn/20200531171129637.PNG?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                    <span class="title oneline">
                        <span class="text">「美团」算法工程师带你入门机器学习</span>
                        <img class="tip" src="https://csdnimg.cn/release/blogv2/dist/pc/img/payMoney.png" alt="">
                    </span>
                    <span class="count float-right">17篇</span>
                </a>
            </li>
            <li class="">
                <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_9617646.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_9617646.html","ab":"new"}'>
                    <img src="https://img-blog.csdnimg.cn/20191224170733209.PNG?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                    <span class="title oneline">
                        <span class="text">「AI科普」</span>
                    </span>
                    <span class="count float-right">3篇</span>
                </a>
            </li>
            <li class="">
                <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_9605873.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_9605873.html","ab":"new"}'>
                    <img src="https://img-blog.csdnimg.cn/20191219143810530.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                    <span class="title oneline">
                        <span class="text">「三分钟系列」数据结构与算法</span>
                    </span>
                    <span class="count float-right">7篇</span>
                </a>
            </li>
            <li class="">
                <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_9271553.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_9271553.html","ab":"new"}'>
                    <img src="https://img-blog.csdn.net/20180118213936874?imageView2/1/w/64/h/64/interlace/1" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                    <span class="title oneline">
                        <span class="text">有趣的算法</span>
                    </span>
                    <span class="count float-right">4篇</span>
                </a>
            </li>
            <li class="">
                <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_9271501.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_9271501.html","ab":"new"}'>
                    <img src="https://img-blog.csdn.net/20180116204857680?imageView2/1/w/64/h/64/interlace/1" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                    <span class="title oneline">
                        <span class="text">机器学习与数据挖掘</span>
                    </span>
                    <span class="count float-right">5篇</span>
                </a>
            </li>
            <li class="">
                <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_9271255.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_9271255.html","ab":"new"}'>
                    <img src="https://img-blog.csdn.net/20180105181019175?imageView2/1/w/64/h/64/interlace/1" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                    <span class="title oneline">
                        <span class="text">深入浅出数据库与Mysql</span>
                    </span>
                    <span class="count float-right">2篇</span>
                </a>
            </li>
            <li class="">
                <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_9271363.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_9271363.html","ab":"new"}'>
                    <img src="https://img-blog.csdn.net/20180110130848226?imageView2/1/w/64/h/64/interlace/1" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                    <span class="title oneline">
                        <span class="text">C语言入门</span>
                    </span>
                    <span class="count float-right">5篇</span>
                </a>
            </li>
            <li class="">
                <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_9273991.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_9273991.html","ab":"new"}'>
                    <img src="//img-blog.csdn.net/20180416212304083?imageView2/1/w/64/h/64/interlace/1" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                    <span class="title oneline">
                        <span class="text">JavaSE</span>
                    </span>
                    <span class="count float-right">9篇</span>
                </a>
            </li>
            <li class="">
                <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_9272585.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_9272585.html","ab":"new"}'>
                    <img src="https://img-blog.csdn.net/20180306221052955?imageView2/1/w/64/h/64/interlace/1" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                    <span class="title oneline">
                        <span class="text">Linux私房菜</span>
                    </span>
                    <span class="count float-right">9篇</span>
                </a>
            </li>
            <li class="">
                <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_9271380.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_9271380.html","ab":"new"}'>
                    <img src="https://img-blog.csdn.net/20180110131343102?imageView2/1/w/64/h/64/interlace/1" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                    <span class="title oneline">
                        <span class="text">用Python玩转数据</span>
                    </span>
                    <span class="count float-right">5篇</span>
                </a>
            </li>
            <li class="">
                <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_9275591.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_9275591.html","ab":"new"}'>
                    <img src="//img-blog.csdn.net/20180605101710107?imageView2/1/w/64/h/64/interlace/1" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                    <span class="title oneline">
                        <span class="text">Hadoop遇见Spark</span>
                    </span>
                </a>
            </li>
            <li class="">
                <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_7524600.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_7524600.html","ab":"new"}'>
                    <img src="https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                    <span class="title oneline">
                        <span class="text">***大数据框架***</span>
                    </span>
                    <span class="count float-right">12篇</span>
                </a>
            </li>
            <li class="">
                <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_7361348.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_7361348.html","ab":"new"}'>
                    <img src="https://img-blog.csdnimg.cn/20191219140720805.jfif?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                    <span class="title oneline">
                        <span class="text">Hadoop/Spark</span>
                    </span>
                    <span class="count float-right">16篇</span>
                </a>
            </li>
            <li class="">
                <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_7319920.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_7319920.html","ab":"new"}'>
                    <img src="https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                    <span class="title oneline">
                        <span class="text">Mysql数据库</span>
                    </span>
                    <span class="count float-right">16篇</span>
                </a>
            </li>
            <li class="">
                <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_7319919.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_7319919.html","ab":"new"}'>
                    <img src="https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                    <span class="title oneline">
                        <span class="text">NoSql数据库</span>
                    </span>
                    <span class="count float-right">16篇</span>
                </a>
            </li>
            <li class="">
                <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_7293623.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_7293623.html","ab":"new"}'>
                    <img src="https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                    <span class="title oneline">
                        <span class="text">***Data Science***</span>
                    </span>
                    <span class="count float-right">52篇</span>
                </a>
            </li>
            <li class="">
                <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_7361350.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_7361350.html","ab":"new"}'>
                    <img src="https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                    <span class="title oneline">
                        <span class="text">Data Science：统计学习</span>
                    </span>
                    <span class="count float-right">68篇</span>
                </a>
            </li>
            <li class="">
                <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_7361351.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_7361351.html","ab":"new"}'>
                    <img src="https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                    <span class="title oneline">
                        <span class="text">Data Science：数据挖掘</span>
                    </span>
                    <span class="count float-right">38篇</span>
                </a>
            </li>
            <li class="">
                <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_7361355.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_7361355.html","ab":"new"}'>
                    <img src="https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                    <span class="title oneline">
                        <span class="text">Data Science：机器学习</span>
                    </span>
                    <span class="count float-right">67篇</span>
                </a>
            </li>
            <li class="">
                <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_7362347.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_7362347.html","ab":"new"}'>
                    <img src="https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                    <span class="title oneline">
                        <span class="text">Data Science：线性代数</span>
                    </span>
                    <span class="count float-right">14篇</span>
                </a>
            </li>
            <li class="">
                <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_7365212.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_7365212.html","ab":"new"}'>
                    <img src="https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                    <span class="title oneline">
                        <span class="text">Data Science：数学分析</span>
                    </span>
                    <span class="count float-right">20篇</span>
                </a>
            </li>
            <li class="">
                <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_7584469.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_7584469.html","ab":"new"}'>
                    <img src="https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                    <span class="title oneline">
                        <span class="text">Data Sciense：数值优化</span>
                    </span>
                    <span class="count float-right">8篇</span>
                </a>
            </li>
            <li class="">
                <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_7406543.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_7406543.html","ab":"new"}'>
                    <img src="https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                    <span class="title oneline">
                        <span class="text">Data Science：深度学习</span>
                    </span>
                    <span class="count float-right">19篇</span>
                </a>
            </li>
            <li class="">
                <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_7736246.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_7736246.html","ab":"new"}'>
                    <img src="https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                    <span class="title oneline">
                        <span class="text">Data Science：图像识别</span>
                    </span>
                    <span class="count float-right">8篇</span>
                </a>
            </li>
            <li class="">
                <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_7468906.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_7468906.html","ab":"new"}'>
                    <img src="https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                    <span class="title oneline">
                        <span class="text">Data Science：NLP相关</span>
                    </span>
                    <span class="count float-right">11篇</span>
                </a>
            </li>
            <li class="">
                <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_7361353.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_7361353.html","ab":"new"}'>
                    <img src="https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                    <span class="title oneline">
                        <span class="text">***算法与编程艺术***</span>
                    </span>
                    <span class="count float-right">39篇</span>
                </a>
            </li>
            <li class="">
                <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_7389781.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_7389781.html","ab":"new"}'>
                    <img src="https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                    <span class="title oneline">
                        <span class="text">算法之数据结构</span>
                    </span>
                    <span class="count float-right">20篇</span>
                </a>
            </li>
            <li class="">
                <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_7476429.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_7476429.html","ab":"new"}'>
                    <img src="https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                    <span class="title oneline">
                        <span class="text">算法之离散数学</span>
                    </span>
                    <span class="count float-right">8篇</span>
                </a>
            </li>
            <li class="">
                <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_7294876.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_7294876.html","ab":"new"}'>
                    <img src="https://img-blog.csdnimg.cn/20191219140331616.jpg?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                    <span class="title oneline">
                        <span class="text">编程之美：C/C++</span>
                    </span>
                    <span class="count float-right">25篇</span>
                </a>
            </li>
            <li class="">
                <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_7392111.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_7392111.html","ab":"new"}'>
                    <img src="https://img-blog.csdnimg.cn/20191219140945731.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                    <span class="title oneline">
                        <span class="text">编程之美：Python</span>
                    </span>
                    <span class="count float-right">50篇</span>
                </a>
            </li>
            <li class="">
                <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_7599598.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_7599598.html","ab":"new"}'>
                    <img src="https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                    <span class="title oneline">
                        <span class="text">编程之美：Java</span>
                    </span>
                    <span class="count float-right">11篇</span>
                </a>
            </li>
            <li class="">
                <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_7361345.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_7361345.html","ab":"new"}'>
                    <img src="https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                    <span class="title oneline">
                        <span class="text">***系统与网络***</span>
                    </span>
                    <span class="count float-right">22篇</span>
                </a>
            </li>
            <li class="">
                <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_7479173.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_7479173.html","ab":"new"}'>
                    <img src="https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                    <span class="title oneline">
                        <span class="text">系统：Linux与Shell</span>
                    </span>
                    <span class="count float-right">11篇</span>
                </a>
            </li>
            <li class="">
                <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_7449572.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_7449572.html","ab":"new"}'>
                    <img src="https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                    <span class="title oneline">
                        <span class="text">网络：TCP/IP协议</span>
                    </span>
                    <span class="count float-right">5篇</span>
                </a>
            </li>
            <li class="">
                <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_7484528.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_7484528.html","ab":"new"}'>
                    <img src="https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                    <span class="title oneline">
                        <span class="text">系统：编译与底层</span>
                    </span>
                    <span class="count float-right">7篇</span>
                </a>
            </li>
            <li class="">
                <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_7423449.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_7423449.html","ab":"new"}'>
                    <img src="https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                    <span class="title oneline">
                        <span class="text">**Leetcode刷题修炼手册**</span>
                    </span>
                    <span class="count float-right">11篇</span>
                </a>
            </li>
            <li class="">
                <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_7688650.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_7688650.html","ab":"new"}'>
                    <img src="https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                    <span class="title oneline">
                        <span class="text">编程之美：Scala</span>
                    </span>
                    <span class="count float-right">4篇</span>
                </a>
            </li>
        </ul>
    </div>
    <p class="text-center">
        <a class="flexible-btn" data-fbox="aside-archive"><img class="look-more" src="https://csdnimg.cn/release/blogv2/dist/pc/img/arrowDownWhite.png" alt=""></a>
    </p>
</div>
<div id="asideNewComments" class="aside-box">
    <h3 class="aside-title">最新评论</h3>
    <div class="aside-content">
        <ul class="newcomment-list">
            <li>
                <a class="title text-truncate" target="_blank" href="https://y1ran.blog.csdn.net/article/details/79028012#comments_15218795" data-report-click='{"mod":"popu_542","spm":"1001.2101.3001.4231","dest":"https://y1ran.blog.csdn.net/article/details/79028012#comments_15218795","ab":"new"}' data-report-view='{"mod":"popu_542","spm":"1001.2101.3001.4231","dest":"https://y1ran.blog.csdn.net/article/details/79028012#comments_15218795","ab":"new"}'>滑动平均法、滑动平均模型法（Moving average，MA）</a>
                <p class="comment ellipsis">
                    <a href="https://blog.csdn.net/Jinyang_csdn" class="user-name" target="_blank">HerinaYang: </a>
                    <span class="code-comments">大佬，你这平时是很忙吧？这个文章估计是你的草稿？<img src="https://g.csdnimg.cn/static/face/monkey2/024.png" alt='表情包' ></span>
                </p>
            </li>
            <li>
                <a class="title text-truncate" target="_blank" href="https://y1ran.blog.csdn.net/article/details/82531296#comments_15215204" data-report-click='{"mod":"popu_542","spm":"1001.2101.3001.4231","dest":"https://y1ran.blog.csdn.net/article/details/82531296#comments_15215204","ab":"new"}' data-report-view='{"mod":"popu_542","spm":"1001.2101.3001.4231","dest":"https://y1ran.blog.csdn.net/article/details/82531296#comments_15215204","ab":"new"}'>P2P（Peer to Peer）网络的原理</a>
                <p class="comment ellipsis">
                    <a href="https://blog.csdn.net/yc454477405" class="user-name" target="_blank">剑玄录: </a>
                    <span class="code-comments">谢谢博主，但感觉有点不对劲，端口和ip好像不可以唯一确定主机。</span>
                </p>
            </li>
            <li>
                <a class="title text-truncate" target="_blank" href="https://y1ran.blog.csdn.net/article/details/81385159#comments_15142073" data-report-click='{"mod":"popu_542","spm":"1001.2101.3001.4231","dest":"https://y1ran.blog.csdn.net/article/details/81385159#comments_15142073","ab":"new"}' data-report-view='{"mod":"popu_542","spm":"1001.2101.3001.4231","dest":"https://y1ran.blog.csdn.net/article/details/81385159#comments_15142073","ab":"new"}'>对全连接层（fully connected layer）的通俗理解</a>
                <p class="comment ellipsis">
                    <a href="https://blog.csdn.net/exm_further" class="user-name" target="_blank">CAAT9: </a>
                    <span class="code-comments">同意楼主，通常意义的卷积输出的任意一个通道都与输入的所有通道相关。但是类似于ShuffleNet的分组卷积和MobileNet中所用的深度可分离卷积其输出就不一定与输入的所有通道相关了，仅做一个引申，无反对之意。</span>
                </p>
            </li>
            <li>
                <a class="title text-truncate" target="_blank" href="https://y1ran.blog.csdn.net/article/details/83042685#comments_14963541" data-report-click='{"mod":"popu_542","spm":"1001.2101.3001.4231","dest":"https://y1ran.blog.csdn.net/article/details/83042685#comments_14963541","ab":"new"}' data-report-view='{"mod":"popu_542","spm":"1001.2101.3001.4231","dest":"https://y1ran.blog.csdn.net/article/details/83042685#comments_14963541","ab":"new"}'>DLL load failed: 找不到指定模块\Failed to load the native TensorFlow runtime解决方法</a>
                <p class="comment ellipsis">
                    <a href="https://blog.csdn.net/qq_43520953" class="user-name" target="_blank">Shmily✧٩(ˊωˋ*)و✧: </a>
                    <span class="code-comments">你好，我也是CPU的TF2.2.0，pycharm里import报错，请问你解决了吗</span>
                </p>
            </li>
            <li>
                <a class="title text-truncate" target="_blank" href="https://y1ran.blog.csdn.net/article/details/80946382#comments_14899495" data-report-click='{"mod":"popu_542","spm":"1001.2101.3001.4231","dest":"https://y1ran.blog.csdn.net/article/details/80946382#comments_14899495","ab":"new"}' data-report-view='{"mod":"popu_542","spm":"1001.2101.3001.4231","dest":"https://y1ran.blog.csdn.net/article/details/80946382#comments_14899495","ab":"new"}'>《机器学习实战》UnicodeDecodeError: &#39;gbk&#39; codec can&#39;t decode byte 0xae in position 199</a>
                <p class="comment ellipsis">
                    <a href="https://blog.csdn.net/wavelet1" class="user-name" target="_blank">小波大波: </a>
                    <span class="code-comments">我也遇到此问题，太感谢您了</span>
                </p>
            </li>
        </ul>
    </div>
</div>
<div id="asideArchive" class="aside-box" style="display:block!important; width:300px;">
    <h3 class="aside-title">最新文章</h3>
    <div class="aside-content">
        <ul class="inf_list clearfix">
            <li class="clearfix">
            <a href="https://y1ran.blog.csdn.net/article/details/106312379" target="_blank" data-report-click='{"mod":"popu_382","spm":"1001.2101.3001.4136","dest":"https://y1ran.blog.csdn.net/article/details/106312379","ab":"new"}' data-report-view='{"mod":"popu_382","dest":"https://y1ran.blog.csdn.net/article/details/106312379","ab":"new"}'>「15」支持向量机Python实战篇——蓝瘦香菇到底有没有毒？</a>
            </li>
            <li class="clearfix">
            <a href="https://y1ran.blog.csdn.net/article/details/106312346" target="_blank" data-report-click='{"mod":"popu_382","spm":"1001.2101.3001.4136","dest":"https://y1ran.blog.csdn.net/article/details/106312346","ab":"new"}' data-report-view='{"mod":"popu_382","dest":"https://y1ran.blog.csdn.net/article/details/106312346","ab":"new"}'>「14」支持向量机——我话说完，谁支持？谁反对？</a>
            </li>
            <li class="clearfix">
            <a href="https://y1ran.blog.csdn.net/article/details/106039018" target="_blank" data-report-click='{"mod":"popu_382","spm":"1001.2101.3001.4136","dest":"https://y1ran.blog.csdn.net/article/details/106039018","ab":"new"}' data-report-view='{"mod":"popu_382","dest":"https://y1ran.blog.csdn.net/article/details/106039018","ab":"new"}'>5月博客恢复更新的通知</a>
            </li>
        </ul>
        <div class="archive-bar"></div>
        <div class="archive-box">
                <div class="archive-list-item"><a href="https://y1ran.blog.csdn.net/article/month/2020/05" target="_blank" data-report-click='{"mod":"popu_538","spm":"1001.2101.3001.4138","ab":"new","dest":""}'><span class="year">2020年</span><span class="num">34篇</span></a></div>
                <div class="archive-list-item"><a href="https://y1ran.blog.csdn.net/article/month/2019/12" target="_blank" data-report-click='{"mod":"popu_538","spm":"1001.2101.3001.4138","ab":"new","dest":""}'><span class="year">2019年</span><span class="num">22篇</span></a></div>
                <div class="archive-list-item"><a href="https://y1ran.blog.csdn.net/article/month/2018/11" target="_blank" data-report-click='{"mod":"popu_538","spm":"1001.2101.3001.4138","ab":"new","dest":""}'><span class="year">2018年</span><span class="num">205篇</span></a></div>
                <div class="archive-list-item"><a href="https://y1ran.blog.csdn.net/article/month/2017/12" target="_blank" data-report-click='{"mod":"popu_538","spm":"1001.2101.3001.4138","ab":"new","dest":""}'><span class="year">2017年</span><span class="num">28篇</span></a></div>
        </div>
    </div>
</div>
	<div id="footerRightAds" class="isShowFooterAds">
		<div class="aside-box">
			<div id="kp_box_57" data-pid="57"><script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- PC-博客详情页-左下视窗（300*600） -->
<ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-1076724771190722"
     data-ad-slot="1173711872"
     data-ad-format="auto"
     data-full-width-responsive="true"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script><img class="pre-img-lasy" data-src="https://kunyu.csdn.net/1.png?p=57&a=2488&c=0&k=&spm=1001.2101.3001.5001&d=1&t=3&u=a455514d49354fd38fd646b48db693b9" style="display: block;width: 0px;height: 0px;"></div>
		</div>
	</div>
    <!-- 详情页显示目录 -->
<!--文章目录-->
<div id="asidedirectory" class="aside-box">
    <div class='groupfile' id="directory">
        <h3 class="aside-title">目录</h3>
        <div class="align-items-stretch group_item">
            <div class="pos-box">
            <div class="scroll-box">
                <div class="toc-box"></div>
            </div>
            </div>
        </div>
    </div>
</div>
</aside>
<script>
	$("a.flexible-btn").click(function(){
		$(this).parents('div.aside-box').removeClass('flexible-box');
		$(this).parents("p.text-center").remove();
	})
</script>
<script type="text/javascript"  src="https://g.csdnimg.cn/user-tooltip/2.4/user-tooltip.js"></script>
<script type="text/javascript"  src="https://g.csdnimg.cn/user-medal/1.0.6/user-medal.js"></script>    </div>
<div class="recommend-right  align-items-stretch clearfix" id="rightAside" data-type="recommend">
    <aside class="recommend-right_aside">
        <div id="recommend-right" >
                        <div class='flex-column aside-box groupfile' id="groupfile">
                <div class="groupfile-div">
                <h3 class="aside-title">目录</h3>
                <div class="align-items-stretch group_item">
                    <div class="pos-box">
                        <div class="scroll-box">
                            <div class="toc-box"></div>
                        </div>
                    </div>
                </div>
                </div>
            </div>
                <div id="recommendAdBox">
                    <div id="kp_box_479" data-pid="479"><script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- PC-博客详情页-右侧视窗300*600 -->
<ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-1076724771190722"
     data-ad-slot="8441704093"
     data-ad-format="auto"
     data-full-width-responsive="true"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script><img class="pre-img-lasy" data-src="https://kunyu.csdn.net/1.png?p=479&a=2487&c=0&k=&spm=1001.2101.3001.4834&d=1&t=3&u=e48e3e5dbe8f479cae19c15933e827fa" style="display: block;width: 0px;height: 0px;"></div>
                </div>
            <div class='aside-box kind_person d-flex flex-column'>
                    <h3 class="aside-title">分类专栏</h3>
                    <div class="align-items-stretch kindof_item" id="kind_person_column">
                        <div class="aside-content">
                            <ul>
                                <li class="">
                                    <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_9605683.html" data-report-click='{"mod":"popu_826","spm":"1001.2101.3001.4230","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_9605683.html","ab":"new"}'>
                                        <img src="https://img-blog.csdnimg.cn/20200531171129637.PNG?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                                        <span class="title oneline">
                                            <span class="text">「美团」算法工程师带你入门机器学习</span>
                                            <img class="tip" src="https://csdnimg.cn/release/blogv2/dist/pc/img/payMoney.png" alt="">
                                        </span>
                                        <span class="count float-right">17篇</span>
                                    </a>
                                </li>
                                <li class="">
                                    <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_9617646.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_9617646.html","ab":"new"}'>
                                        <img src="https://img-blog.csdnimg.cn/20191224170733209.PNG?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                                        <span class="title oneline">
                                            <span class="text">「AI科普」</span>
                                        </span>
                                        <span class="count float-right">3篇</span>
                                    </a>
                                </li>
                                <li class="">
                                    <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_9605873.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_9605873.html","ab":"new"}'>
                                        <img src="https://img-blog.csdnimg.cn/20191219143810530.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                                        <span class="title oneline">
                                            <span class="text">「三分钟系列」数据结构与算法</span>
                                        </span>
                                        <span class="count float-right">7篇</span>
                                    </a>
                                </li>
                                <li class="">
                                    <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_9271553.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_9271553.html","ab":"new"}'>
                                        <img src="https://img-blog.csdn.net/20180118213936874?imageView2/1/w/64/h/64/interlace/1" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                                        <span class="title oneline">
                                            <span class="text">有趣的算法</span>
                                        </span>
                                        <span class="count float-right">4篇</span>
                                    </a>
                                </li>
                                <li class="">
                                    <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_9271501.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_9271501.html","ab":"new"}'>
                                        <img src="https://img-blog.csdn.net/20180116204857680?imageView2/1/w/64/h/64/interlace/1" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                                        <span class="title oneline">
                                            <span class="text">机器学习与数据挖掘</span>
                                        </span>
                                        <span class="count float-right">5篇</span>
                                    </a>
                                </li>
                                <li class="">
                                    <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_9271255.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_9271255.html","ab":"new"}'>
                                        <img src="https://img-blog.csdn.net/20180105181019175?imageView2/1/w/64/h/64/interlace/1" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                                        <span class="title oneline">
                                            <span class="text">深入浅出数据库与Mysql</span>
                                        </span>
                                        <span class="count float-right">2篇</span>
                                    </a>
                                </li>
                                <li class="">
                                    <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_9271363.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_9271363.html","ab":"new"}'>
                                        <img src="https://img-blog.csdn.net/20180110130848226?imageView2/1/w/64/h/64/interlace/1" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                                        <span class="title oneline">
                                            <span class="text">C语言入门</span>
                                        </span>
                                        <span class="count float-right">5篇</span>
                                    </a>
                                </li>
                                <li class="">
                                    <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_9273991.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_9273991.html","ab":"new"}'>
                                        <img src="//img-blog.csdn.net/20180416212304083?imageView2/1/w/64/h/64/interlace/1" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                                        <span class="title oneline">
                                            <span class="text">JavaSE</span>
                                        </span>
                                        <span class="count float-right">9篇</span>
                                    </a>
                                </li>
                                <li class="">
                                    <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_9272585.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_9272585.html","ab":"new"}'>
                                        <img src="https://img-blog.csdn.net/20180306221052955?imageView2/1/w/64/h/64/interlace/1" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                                        <span class="title oneline">
                                            <span class="text">Linux私房菜</span>
                                        </span>
                                        <span class="count float-right">9篇</span>
                                    </a>
                                </li>
                                <li class="">
                                    <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_9271380.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_9271380.html","ab":"new"}'>
                                        <img src="https://img-blog.csdn.net/20180110131343102?imageView2/1/w/64/h/64/interlace/1" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                                        <span class="title oneline">
                                            <span class="text">用Python玩转数据</span>
                                        </span>
                                        <span class="count float-right">5篇</span>
                                    </a>
                                </li>
                                <li class="">
                                    <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_9275591.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_9275591.html","ab":"new"}'>
                                        <img src="//img-blog.csdn.net/20180605101710107?imageView2/1/w/64/h/64/interlace/1" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                                        <span class="title oneline">
                                            <span class="text">Hadoop遇见Spark</span>
                                        </span>
                                    </a>
                                </li>
                                <li class="">
                                    <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_7524600.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_7524600.html","ab":"new"}'>
                                        <img src="https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                                        <span class="title oneline">
                                            <span class="text">***大数据框架***</span>
                                        </span>
                                        <span class="count float-right">12篇</span>
                                    </a>
                                </li>
                                <li class="">
                                    <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_7361348.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_7361348.html","ab":"new"}'>
                                        <img src="https://img-blog.csdnimg.cn/20191219140720805.jfif?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                                        <span class="title oneline">
                                            <span class="text">Hadoop/Spark</span>
                                        </span>
                                        <span class="count float-right">16篇</span>
                                    </a>
                                </li>
                                <li class="">
                                    <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_7319920.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_7319920.html","ab":"new"}'>
                                        <img src="https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                                        <span class="title oneline">
                                            <span class="text">Mysql数据库</span>
                                        </span>
                                        <span class="count float-right">16篇</span>
                                    </a>
                                </li>
                                <li class="">
                                    <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_7319919.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_7319919.html","ab":"new"}'>
                                        <img src="https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                                        <span class="title oneline">
                                            <span class="text">NoSql数据库</span>
                                        </span>
                                        <span class="count float-right">16篇</span>
                                    </a>
                                </li>
                                <li class="">
                                    <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_7293623.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_7293623.html","ab":"new"}'>
                                        <img src="https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                                        <span class="title oneline">
                                            <span class="text">***Data Science***</span>
                                        </span>
                                        <span class="count float-right">52篇</span>
                                    </a>
                                </li>
                                <li class="">
                                    <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_7361350.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_7361350.html","ab":"new"}'>
                                        <img src="https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                                        <span class="title oneline">
                                            <span class="text">Data Science：统计学习</span>
                                        </span>
                                        <span class="count float-right">68篇</span>
                                    </a>
                                </li>
                                <li class="">
                                    <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_7361351.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_7361351.html","ab":"new"}'>
                                        <img src="https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                                        <span class="title oneline">
                                            <span class="text">Data Science：数据挖掘</span>
                                        </span>
                                        <span class="count float-right">38篇</span>
                                    </a>
                                </li>
                                <li class="">
                                    <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_7361355.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_7361355.html","ab":"new"}'>
                                        <img src="https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                                        <span class="title oneline">
                                            <span class="text">Data Science：机器学习</span>
                                        </span>
                                        <span class="count float-right">67篇</span>
                                    </a>
                                </li>
                                <li class="">
                                    <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_7362347.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_7362347.html","ab":"new"}'>
                                        <img src="https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                                        <span class="title oneline">
                                            <span class="text">Data Science：线性代数</span>
                                        </span>
                                        <span class="count float-right">14篇</span>
                                    </a>
                                </li>
                                <li class="">
                                    <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_7365212.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_7365212.html","ab":"new"}'>
                                        <img src="https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                                        <span class="title oneline">
                                            <span class="text">Data Science：数学分析</span>
                                        </span>
                                        <span class="count float-right">20篇</span>
                                    </a>
                                </li>
                                <li class="">
                                    <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_7584469.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_7584469.html","ab":"new"}'>
                                        <img src="https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                                        <span class="title oneline">
                                            <span class="text">Data Sciense：数值优化</span>
                                        </span>
                                        <span class="count float-right">8篇</span>
                                    </a>
                                </li>
                                <li class="">
                                    <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_7406543.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_7406543.html","ab":"new"}'>
                                        <img src="https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                                        <span class="title oneline">
                                            <span class="text">Data Science：深度学习</span>
                                        </span>
                                        <span class="count float-right">19篇</span>
                                    </a>
                                </li>
                                <li class="">
                                    <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_7736246.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_7736246.html","ab":"new"}'>
                                        <img src="https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                                        <span class="title oneline">
                                            <span class="text">Data Science：图像识别</span>
                                        </span>
                                        <span class="count float-right">8篇</span>
                                    </a>
                                </li>
                                <li class="">
                                    <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_7468906.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_7468906.html","ab":"new"}'>
                                        <img src="https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                                        <span class="title oneline">
                                            <span class="text">Data Science：NLP相关</span>
                                        </span>
                                        <span class="count float-right">11篇</span>
                                    </a>
                                </li>
                                <li class="">
                                    <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_7361353.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_7361353.html","ab":"new"}'>
                                        <img src="https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                                        <span class="title oneline">
                                            <span class="text">***算法与编程艺术***</span>
                                        </span>
                                        <span class="count float-right">39篇</span>
                                    </a>
                                </li>
                                <li class="">
                                    <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_7389781.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_7389781.html","ab":"new"}'>
                                        <img src="https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                                        <span class="title oneline">
                                            <span class="text">算法之数据结构</span>
                                        </span>
                                        <span class="count float-right">20篇</span>
                                    </a>
                                </li>
                                <li class="">
                                    <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_7476429.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_7476429.html","ab":"new"}'>
                                        <img src="https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                                        <span class="title oneline">
                                            <span class="text">算法之离散数学</span>
                                        </span>
                                        <span class="count float-right">8篇</span>
                                    </a>
                                </li>
                                <li class="">
                                    <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_7294876.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_7294876.html","ab":"new"}'>
                                        <img src="https://img-blog.csdnimg.cn/20191219140331616.jpg?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                                        <span class="title oneline">
                                            <span class="text">编程之美：C/C++</span>
                                        </span>
                                        <span class="count float-right">25篇</span>
                                    </a>
                                </li>
                                <li class="">
                                    <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_7392111.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_7392111.html","ab":"new"}'>
                                        <img src="https://img-blog.csdnimg.cn/20191219140945731.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                                        <span class="title oneline">
                                            <span class="text">编程之美：Python</span>
                                        </span>
                                        <span class="count float-right">50篇</span>
                                    </a>
                                </li>
                                <li class="">
                                    <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_7599598.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_7599598.html","ab":"new"}'>
                                        <img src="https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                                        <span class="title oneline">
                                            <span class="text">编程之美：Java</span>
                                        </span>
                                        <span class="count float-right">11篇</span>
                                    </a>
                                </li>
                                <li class="">
                                    <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_7361345.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_7361345.html","ab":"new"}'>
                                        <img src="https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                                        <span class="title oneline">
                                            <span class="text">***系统与网络***</span>
                                        </span>
                                        <span class="count float-right">22篇</span>
                                    </a>
                                </li>
                                <li class="">
                                    <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_7479173.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_7479173.html","ab":"new"}'>
                                        <img src="https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                                        <span class="title oneline">
                                            <span class="text">系统：Linux与Shell</span>
                                        </span>
                                        <span class="count float-right">11篇</span>
                                    </a>
                                </li>
                                <li class="">
                                    <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_7449572.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_7449572.html","ab":"new"}'>
                                        <img src="https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                                        <span class="title oneline">
                                            <span class="text">网络：TCP/IP协议</span>
                                        </span>
                                        <span class="count float-right">5篇</span>
                                    </a>
                                </li>
                                <li class="">
                                    <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_7484528.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_7484528.html","ab":"new"}'>
                                        <img src="https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                                        <span class="title oneline">
                                            <span class="text">系统：编译与底层</span>
                                        </span>
                                        <span class="count float-right">7篇</span>
                                    </a>
                                </li>
                                <li class="">
                                    <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_7423449.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_7423449.html","ab":"new"}'>
                                        <img src="https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                                        <span class="title oneline">
                                            <span class="text">**Leetcode刷题修炼手册**</span>
                                        </span>
                                        <span class="count float-right">11篇</span>
                                    </a>
                                </li>
                                <li class="">
                                    <a class="clearfix" target="_blank" href="https://blog.csdn.net/qq_39521554/category_7688650.html" data-report-click='{"mod":"popu_537","spm":"1001.2101.3001.4137","strategy":"pc付费专栏左侧入口","dest":"https://blog.csdn.net/qq_39521554/category_7688650.html","ab":"new"}'>
                                        <img src="https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64" alt="" onerror="this.src='https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64'">
                                        <span class="title oneline">
                                            <span class="text">编程之美：Scala</span>
                                        </span>
                                        <span class="count float-right">4篇</span>
                                    </a>
                                </li>
                            </ul>
                        </div>
                    </div>
            </div>
        </div>
    </aside>
</div>

</div>
<div class="mask-dark"></div>
<script type="text/javascript">
    var timert = setInterval(function(){
      sideToolbar = $(".csdn-side-toolbar");
      if (sideToolbar.length > 0) {
        sideToolbar.css('cssText','bottom:64px !important;')
        clearInterval(timert);
      }
    }, 200);
</script>
<script>
    var articleId = 80855086;
    var commentscount = 22;
    var curentUrl = "https://blog.csdn.net/qq_39521554/article/details/80855086";
    var myUrl = "https://my.csdn.net/";
    var highlight = ["Python","2","Python","3","区别","选","Python","3","原因"];//高亮数组
    var isRecommendModule = true;
    var isBaiduPre = false;
    var baiduCount = 2;
    var share_card_url = "https://blog.csdn.net/qq_39521554/article/shareArticleCardPage?article_id=80855086"
	var articleType = 1;
    var baiduKey = "python2和python3的区别";
    var needInsertBaidu = true;
    var recommendRegularDomainArr = ["blog.csdn.net/.+/article/details/","download.csdn.net/download/","edu.csdn.net/course/detail/","ask.csdn.net/questions/","bbs.csdn.net/topics/","www.csdn.net/gather_.+/"]
    var codeStyle = "atom-one-light";
    var baiduSearchType = "utm_term";
    var canRead = true;
    var blogMoveHomeArticle = false;
    var showPcWindowAd = false;
    var showSearchText = "secondText";
    var linkPage = true;
    var articleSource = 1;
    var articleReport = '{"pid": "blog", "spm":"1001.2101"}';
</script>
<script src="https://csdnimg.cn/public/sandalstrap/1.4/js/sandalstrap.min.js"></script>
<div class="skin-boxshadow"></div>
<div class="pay-code">
        <div class="pay-money">实付<span class="pay-money-span" data-nowprice='19.90' data-oldprice='19.90'>
            19.90元</span></div>
        <div class="content-blance"><a class="blance-bt" href="javascript:;">使用余额支付</a></div>
        <div class="content-code">
        <div id="payCode" data-id="9605683">
                <div class="renovate">
                    <img src="https://csdnimg.cn/release/blogv2/dist/pc/img/pay-time-out.png">
                    <span>点击重新获取</span>
                </div>
            </div>
            <div class="pay-style"><span><img src="https://csdnimg.cn/release/blogv2/dist/pc/img/weixin.png"></span><span><img src="https://csdnimg.cn/release/blogv2/dist/pc/img/zhifubao.png"></span><span><img src="https://csdnimg.cn/release/blogv2/dist/pc/img/jingdong.png"></span><span class="text">扫码支付</span></div>
        </div>
        <div class="bt-close"><svg t="1567152543821" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="10924" xmlns:xlink="http://www.w3.org/1999/xlink" width="12" height="12"><defs><style type="text/css"></style></defs><path d="M512 438.378667L806.506667 143.893333a52.032 52.032 0 1 1 73.6 73.621334L585.621333 512l294.485334 294.485333a52.074667 52.074667 0 0 1-73.6 73.642667L512 585.621333 217.514667 880.128a52.053333 52.053333 0 1 1-73.621334-73.642667L438.378667 512 143.893333 217.514667a52.053333 52.053333 0 1 1 73.621334-73.621334L512 438.378667z" fill="" p-id="10925"></path></svg></div>
        <!-- <p style="margin-top: 8px;font-size: 14px;" class="text-center">支付成功即可阅读</p> -->
        <div class="pay-balance">
        <input type="radio" class="pay-code-radio" data-type="details"> 
        <span class="span">钱包余额</span>
        <span class="balance" style="color:#FC5531;font-size:14px;">0</span>  
        <div class="pay-code-tile">
            <img src="https://csdnimg.cn/release/blogv2/dist/pc/img/pay-help.png" alt="">
            <div class="pay-code-content">
                <div class="span">
                    <p class="title">抵扣说明：</p>
                    <p> 1.余额是钱包充值的虚拟货币，按照1:1的比例进行支付金额的抵扣。<br> 2.余额无法直接购买下载，可以购买VIP、C币套餐、付费专栏及课程。</p>
                </div>
            </div>
        </div>
        </div>
        <a class="pay-balance-con" href="https://i.csdn.net/#/wallet/balance/recharge" target="_blank"><img src="https://csdnimg.cn/release/blogv2/dist/pc/img/recharge.png" alt=""><span  >余额充值</span></a>
    </div>
<div style="display:none;">
	<img src="" onerror='setTimeout(function(){if(!/(csdn.net|iteye.com|baiducontent.com|googleusercontent.com|360webcache.com|sogoucdn.com|bingj.com|baidu.com)$/.test(window.location.hostname)){window.location.href="\x68\x74\x74\x70\x73\x3a\x2f\x2f\x77\x77\x77\x2e\x63\x73\x64\x6e\x2e\x6e\x65\x74"}},3000);'>
</div>
</body>
    <!-- 富文本柱状图  -->
	<link rel="stylesheet" href="https://csdnimg.cn/release/blog_editor_html/release1.6.12/ckeditor/plugins/chart/chart.css"/>
	<script type="text/javascript" src="https://csdnimg.cn/release/blog_editor_html/release1.6.12/ckeditor/plugins/chart/lib/chart.min.js"></script>
    <script type="text/javascript" src="https://csdnimg.cn/release/blog_editor_html/release1.6.12/ckeditor/plugins/chart/widget2chart.js"></script>
<script src="https://csdnimg.cn/release/blogv2/dist/components/js/pc_wap_highlight-db1e81323a.min.js" type="text/javascript"></script>
<script src="https://csdnimg.cn/release/blogv2/dist/components/js/pc_wap_common-906586e915.min.js" type="text/javascript"></script>
<link rel="stylesheet" href="https://csdnimg.cn/release/blog_editor_html/release1.6.12/ckeditor/plugins/codesnippet/lib/highlight/styles/atom-one-light.css">
<script>
 // 全局声明
 if (window.csdn === undefined) {
      window.csdn = {};
    }
    window.csdn.sideToolbar = {
        options: {
            report:{
                isShow: true,
            },
            qr: {
                isShow: false,
            },
            guide: {
                isShow: true
            }
        }
    }
    $(function(){
        $(document).on('click',"a.option-box[data-type='report']",function() {
            window.csdn.userLogin.loadAjax(function(res){
                showReport(false,articleTitles);
            })
        });
    })
</script>
    <script src="https://g.csdnimg.cn/baidu-search/1.0.9/baidu-search.js"  type="text/javascript"></script>
<script src="https://csdnimg.cn/release/download/old_static/js/qrcode.js"></script>
<script src="https://csdnimg.cn/release/blogv2/dist/pc/js/common-b286f966c8.min.js" type="text/javascript"></script>
<script src="https://csdnimg.cn/release/blogv2/dist/pc/js/detail-6a69ca4c78.min.js" type="text/javascript"></script>
<script src="https://g.csdnimg.cn/user-ordercart/1.0.6/user-ordercart.js" type="text/javascript"></script>
<script src="https://csdnimg.cn/release/blogv2/dist/pc/js/column-78261cfea6.min.js" type="text/javascript"></script>
<script src="https://g.csdnimg.cn/side-toolbar/3.0/side-toolbar.js" type="text/javascript"></script>
<script src="https://g.csdnimg.cn/copyright/1.0.3/copyright.js" type="text/javascript"></script>
<script>
    $(".MathJax").remove();
    if ($('div.markdown_views pre.prettyprint code.hljs').length > 0) {
        $('div.markdown_views')[0].className = 'markdown_views';
    }
</script>
<script type="text/javascript" src="https://csdnimg.cn/release/blog_mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<script type="text/x-mathjax-config">
    MathJax.Hub.Config({
            "HTML-CSS": {
                    linebreaks: { automatic: true, width: "94%container" },
                    imageFont: null
            },
            tex2jax: {
                preview: "none"
            },
            mml2jax: {
                preview: 'none'
            }
    });
</script>
<script type="text/javascript" crossorigin src="https://g.csdnimg.cn/user-login/2.3.2/user-login.js"></script>
<script type="text/javascript" crossorigin src="https://g.csdnimg.cn/login-box/1.1.4/login-box.js"></script></html>
